|
EAF 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.
| Field Summary | |
protected java.lang.String |
encoding
Character encoding that will be used. |
| Constructor Summary | |
protected |
PageRedirectException(java.lang.String url)
Constructor a redirect, saving the URL. |
protected |
PageRedirectException(java.lang.String url,
java.lang.String encoding)
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 |
getEncoding()
Get encoding for this redirect. |
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 |
| Field Detail |
protected java.lang.String encoding
| 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)
protected PageRedirectException(java.lang.String url,
java.lang.String encoding)
url - The url where the request should be redirected.
It may have arguments encoded and/or they may be added with
addArgument.encoding - encoding to use in this redirectaddArgument(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()
public java.lang.String getEncoding()
|
EAF 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||