|
EAF 7.4 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
com.lutris.appserver.server.httpPresentation.ServerPageRedirectException
public class ServerPageRedirectException
Exception used to signal a page redirection internal to server.
Field Summary |
---|
Fields inherited from class com.lutris.appserver.server.httpPresentation.PageRedirectException |
---|
encoding |
Constructor Summary | |
---|---|
ServerPageRedirectException(java.lang.String url)
Constructor a server redirection exception. |
|
ServerPageRedirectException(java.lang.String url,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Constructor of server redirection exception. |
|
ServerPageRedirectException(java.lang.String url,
java.lang.String encoding)
Constructor of server redirection exception. |
|
ServerPageRedirectException(java.lang.String url,
java.lang.String encoding,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Constructor of server redirection exception. |
Method Summary | |
---|---|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Method returns the httpServletRequest to redirect |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
Method returns the httpServletResponse to redirect to |
void |
setHttpServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
Method allows you to set the httpServletRequest to redirect |
void |
setHttpServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
Method allows you to set the httpServletResponse to redirect to |
Methods inherited from class com.lutris.appserver.server.httpPresentation.PageRedirectException |
---|
addArgument, getEncoding, getUrl |
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 ServerPageRedirectException(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
.PageRedirectException.addArgument(java.lang.String, java.lang.String)
public ServerPageRedirectException(java.lang.String url, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
url
- The url where the request should be redirected. It may have
arguments encoded and/or they may be added with addArgument
.httpServletRequest
- The httpServletRequest to redirect (if different then the one
specified in HttpPresentationComms object).httpServletResponse
- The httpServletRequest to redirect to (if different then the
one specified in HttpPresentationComms object).PageRedirectException.addArgument(java.lang.String, java.lang.String)
public ServerPageRedirectException(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
- character encoding to usePageRedirectException.addArgument(java.lang.String, java.lang.String)
public ServerPageRedirectException(java.lang.String url, java.lang.String encoding, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
url
- The url where the request should be redirected. It may have
arguments encoded and/or they may be added with addArgument
.encoding
- character encoding to usehttpServletRequest
- The httpServletRequest to redirect (if different then the one
specified in HttpPresentationComms object).httpServletResponse
- The httpServletRequest to redirect to (if different then the
one specified in HttpPresentationComms object).PageRedirectException.addArgument(java.lang.String, java.lang.String)
Method Detail |
---|
public void setHttpServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- HttpServletRequest to redirectpublic javax.servlet.http.HttpServletRequest getHttpServletRequest()
public void setHttpServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletResponse
- HttpServletResponse to redirect topublic javax.servlet.http.HttpServletResponse getHttpServletResponse()
|
EAF 7.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |