|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.servlet.ErrorAttributes
public class ErrorAttributes
Represents additional error parameters present in a ServletRequest
when the servlet
container is handling an error or a forward to an error page mapped by error-page
element
in web.xml
.
See documentation for the following request attributes for the values stored in this object:
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Gets exception. |
java.lang.Class<? extends java.lang.Throwable> |
getExceptionType()
Gets exceptionType. |
java.lang.String |
getMessage()
Gets message. |
java.lang.String |
getRequestUri()
Gets requestUri. |
java.lang.String |
getServletName()
Gets servletName. |
java.lang.Integer |
getStatusCode()
Gets statusCode. |
static ErrorAttributes |
of(javax.servlet.http.HttpServletRequest request)
Factory for creating instances of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Integer getStatusCode()
public java.lang.String getMessage()
public java.lang.String getRequestUri()
public java.lang.String getServletName()
public java.lang.Class<? extends java.lang.Throwable> getExceptionType()
public java.lang.Throwable getException()
public static ErrorAttributes of(javax.servlet.http.HttpServletRequest request)
request
-
null
if it does not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |