EAF 6.4 API

com.lutris.appserver.server.httpPresentation
Class ClientPageRedirectException

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

public class ClientPageRedirectException
extends PageRedirectException

Exception used to signal a page redirection via the client.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.lutris.appserver.server.httpPresentation.PageRedirectException
encoding
 
Constructor Summary
ClientPageRedirectException(java.lang.String url)
          Constructor a client redirection exception.
ClientPageRedirectException(java.lang.String url, java.lang.String encoding)
          Constructor a client 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

ClientPageRedirectException

public ClientPageRedirectException(java.lang.String url)
Constructor a client 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)

ClientPageRedirectException

public ClientPageRedirectException(java.lang.String url,
                                   java.lang.String encoding)
Constructor a client 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