|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
wicket.AbortException
wicket.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 Form| Constructor Summary | |
|---|---|
AbortWithHttpStatusException(int status,
boolean statusCodeOptional)
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
int |
getStatus()
Deprecated. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 thrown| Method Detail |
|---|
public final int getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||