|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.linkcheck.validation.LinkValidationResult
org.apache.maven.doxia.linkcheck.validation.HTTPLinkValidationResult
public class HTTPLinkValidationResult
This class is used to return HTTP status responses from the validation handlers.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.doxia.linkcheck.validation.LinkValidationResult |
|---|
NOTMINE |
| Constructor Summary | |
|---|---|
HTTPLinkValidationResult(int stat,
boolean persistent,
int httpStatusCode,
String message)
Constructor: initializes status, persistent, httpStatusCode and errorMessage. |
|
HTTPLinkValidationResult(int stat,
boolean persistent,
String message)
Constructor: initializes status, persistent and errorMessage. |
|
| Method Summary | |
|---|---|
String |
getErrorMessage()
Returns the errorMessage. |
int |
getHttpStatusCode()
Returns the httpStatusCode. |
String |
toString()
|
| Methods inherited from class org.apache.maven.doxia.linkcheck.validation.LinkValidationResult |
|---|
getStatus, isPersistent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPLinkValidationResult(int stat,
boolean persistent,
String message)
-1.
stat - The status.persistent - The persistent.message - The errorMessage.
public HTTPLinkValidationResult(int stat,
boolean persistent,
int httpStatusCode,
String message)
stat - The status.persistent - The persistent.httpStatusCode - The httpStatusCode returned.message - The errorMessage.| Method Detail |
|---|
public String getErrorMessage()
getErrorMessage in class LinkValidationResultpublic int getHttpStatusCode()
public String toString()
toString in class LinkValidationResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||