|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.services.HttpError
public final class HttpError
An event handler method may return an instance of this class to send an error response to the client.
Constructor Summary | |
---|---|
HttpError(int statusCode,
java.lang.String message)
|
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns error message. |
int |
getStatusCode()
Returns the error status code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpError(int statusCode, java.lang.String message)
Method Detail |
---|
public int getStatusCode()
public java.lang.String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |