|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.wicket.AbortException org.apache.wicket.AbstractRestartResponseException org.apache.wicket.protocol.http.servlet.AbortWithHttpStatusException
public class AbortWithHttpStatusException
Causes Wicket to abort processing and set the specified HTTP status code. An
IllegalStateException
will be thrown if HTTP status code could not be set and the
optional parameter is specified as false.
This exception can be thrown from a page or a resource.
HttpServletResponse
,
Serialized FormConstructor Summary | |
---|---|
AbortWithHttpStatusException(int status,
boolean statusCodeOptional)
Constructor |
Method Summary | |
---|---|
int |
getStatus()
|
Methods inherited from class org.apache.wicket.AbortException |
---|
fillInStackTrace |
Methods inherited from class java.lang.Throwable |
---|
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbortWithHttpStatusException(int status, boolean statusCodeOptional)
status
- The http response status codestatusCodeOptional
- If true and http status could not be set, an IllegalStateException will be thrownMethod Detail |
---|
public final int getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |