BrokenUrls
Model for holding broken links information and methods for working with this data
Static Method Summary
Static Public Methods | ||
public static |
create(): BrokenLinks Static initializer for BrokenLinks instance |
Constructor Summary
Public Constructor | ||
public |
Constructor function |
Method Summary
Public Methods | ||
public |
Add url with given response status code to model of broken links |
|
public |
clear(): exports Clears broken links model |
|
public |
Returns broken urls with response status equals to 404. |
|
public |
Returns broken urls with response status equals to 500. |
|
public |
Return all broken url items |
|
public |
Return broken url items with given status code |
Static Public Methods
public static create(): BrokenLinks source
Static initializer for BrokenLinks instance
Return:
BrokenLinks |
Public Constructors
Public Methods
public add(url: String, advanced: Obect, code: Number): exports source
Add url with given response status code to model of broken links
Return:
exports |
public get404(): Object[] source
Returns broken urls with response status equals to 404. Page not found error