Package org.apache.tapestry5.services
Class HttpError
-
- org.apache.tapestry5.services.HttpError
-
public final class HttpError extends
An event handler method may return an instance of this class to send an error response to the client.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description HttpError(int statusCode, message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description getMessage()
Returns error message.int
getStatusCode()
Returns the error status code.
-
-
-
Constructor Detail
-
HttpError
public HttpError(int statusCode, message)
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
Returns the error status code.
-
getMessage
public getMessage()
Returns error message.
-
-