nl.gx.webmanager.handler.forms
Class RoutingResult

java.lang.Object
  extended by nl.gx.webmanager.handler.forms.RoutingResult

public class RoutingResult
extends java.lang.Object

This class represents the result of a router.


Constructor Summary
RoutingResult(java.net.URL targetLink, boolean endOfFlow)
          Constructs a new routing result.
RoutingResult(java.net.URL targetLink, boolean endOfFlow, boolean externalUrl)
          Constructs a new routing result.
 
Method Summary
 java.net.URL getTargetLink()
          Returns the location to which the client will be redirected.
 boolean isEndOfFlow()
          Indicates whether processing the form flow has been completed.
 boolean isExternalUrl()
          Indicates whether the client is redirected to an external url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingResult

public RoutingResult(java.net.URL targetLink,
                     boolean endOfFlow)
Constructs a new routing result.

Parameters:
targetLink - The location to which the client should be redirected by the formhandler.
endOfFlow - Indicates whether the end of the form flow has been reached. If the end of the flow has been reached, the the flow information for the current form flow will be removed from the client's session.

RoutingResult

public RoutingResult(java.net.URL targetLink,
                     boolean endOfFlow,
                     boolean externalUrl)
Constructs a new routing result.

Parameters:
targetLink - The location to which the client should be redirected by the formhandler.
endOfFlow - Indicates whether the end of the form flow has been reached. If the end of the flow has been reached, the the flow information for the current form flow will be removed from the client's session.
isExternalUrl - Indicates whether the location to which the client should be redirected by the formhandler is an external url.
Method Detail

getTargetLink

public java.net.URL getTargetLink()
Returns the location to which the client will be redirected.

Returns:
The location to which the client will be redirected.

isEndOfFlow

public boolean isEndOfFlow()
Indicates whether processing the form flow has been completed.

Returns:
true if processing the form flow has been completed, false otherwise.

isExternalUrl

public boolean isExternalUrl()
Indicates whether the client is redirected to an external url

Returns:
true if client is redirected to an external url, false otherwise.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.