|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Error | +--com.lutris.appserver.server.httpPresentation.PageRedirectException
Base class of page redirection classes. It is a subclass of Error rather than exception, as we only want the presentation manager to catch it.
Constructor Summary | |
protected |
PageRedirectException(java.lang.String url)
Constructor a redirect, saving the URL.. |
Method Summary | |
void |
addArgument(java.lang.String name,
java.lang.String value)
Add an argument to the URL. |
java.lang.String |
getUrl()
Get the redirection URL associated with this redirect. |
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 |
protected PageRedirectException(java.lang.String url)
url
- The url where the request should be redirected.
It may have arguments encoded and/or they may be added with
addArgument
.addArgument(java.lang.String, java.lang.String)
Method Detail |
public void addArgument(java.lang.String name, java.lang.String value)
name
- Argument name.value
- Argument value.public java.lang.String getUrl()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |