| |
|
| java.lang.Object java.lang.Throwable java.lang.Error com.lutris.appserver.server.httpPresentation.PageRedirectException com.lutris.appserver.server.httpPresentation.ServerPageRedirectException
ServerPageRedirectException | public class ServerPageRedirectException extends PageRedirectException (Code) | | Exception used to signal a page redirection internal to server.
|
ServerPageRedirectException | public ServerPageRedirectException(String url)(Code) | | Constructor a server redirection exception.
Parameters: url - The url where the request should be redirected. It may havearguments encoded and/or they may be added with addArgument . See Also: PageRedirectException.addArgument |
ServerPageRedirectException | public ServerPageRedirectException(String url, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code) | | Constructor of server redirection exception.
Parameters: url - The url where the request should be redirected. It may havearguments encoded and/or they may be added with addArgument . Parameters: httpServletRequest - The httpServletRequest to redirect (if different then the onespecified in HttpPresentationComms object). Parameters: httpServletResponse - The httpServletRequest to redirect to (if different then theone specified in HttpPresentationComms object). See Also: PageRedirectException.addArgument |
ServerPageRedirectException | public ServerPageRedirectException(String url, String encoding)(Code) | | Constructor of server redirection exception.
Parameters: url - The url where the request should be redirected. It may havearguments encoded and/or they may be added with addArgument . Parameters: encoding - character encoding to use See Also: PageRedirectException.addArgument |
ServerPageRedirectException | public ServerPageRedirectException(String url, String encoding, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code) | | Constructor of server redirection exception.
Parameters: url - The url where the request should be redirected. It may havearguments encoded and/or they may be added with addArgument . Parameters: encoding - character encoding to use Parameters: httpServletRequest - The httpServletRequest to redirect (if different then the onespecified in HttpPresentationComms object). Parameters: httpServletResponse - The httpServletRequest to redirect to (if different then theone specified in HttpPresentationComms object). See Also: PageRedirectException.addArgument |
getHttpServletRequest | public HttpServletRequest getHttpServletRequest()(Code) | | Method returns the httpServletRequest to redirect
HttpServletRequest to redirect |
getHttpServletResponse | public HttpServletResponse getHttpServletResponse()(Code) | | Method returns the httpServletResponse to redirect to
HttpServletResponse to redirect to |
setHttpServletRequest | public void setHttpServletRequest(HttpServletRequest httpServletRequest)(Code) | | Method allows you to set the httpServletRequest to redirect
Parameters: httpServletRequest - HttpServletRequest to redirect |
setHttpServletResponse | public void setHttpServletResponse(HttpServletResponse httpServletResponse)(Code) | | Method allows you to set the httpServletResponse to redirect to
Parameters: httpServletResponse - HttpServletResponse to redirect to |
Fields inherited from com.lutris.appserver.server.httpPresentation.PageRedirectException | protected String encoding(Code)(Java Doc)
|
|
|
|