EAF 6.4 API

com.lutris.appserver.server.httpPresentation
Class ServerPageRedirectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended bycom.lutris.appserver.server.httpPresentation.PageRedirectException
              extended bycom.lutris.appserver.server.httpPresentation.ServerPageRedirectException
All Implemented Interfaces:
java.io.Serializable

public class ServerPageRedirectException
extends PageRedirectException

Exception used to signal a page redirection internal to server.

See Also:
Serialized Form

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, java.lang.String encoding)
          Constructor a server redirection exception.
 
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

ServerPageRedirectException

public ServerPageRedirectException(java.lang.String url)
Constructor a server redirection exception.

Parameters:
url - The url where the request should be redirected. It may have arguments encoded and/or they may be added with addArgument.
See Also:
PageRedirectException.addArgument(java.lang.String, java.lang.String)

ServerPageRedirectException

public ServerPageRedirectException(java.lang.String url,
                                   java.lang.String encoding)
Constructor a server redirection exception.

Parameters:
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 use
See Also:
PageRedirectException.addArgument(java.lang.String, java.lang.String)

EAF 6.4 API