org.springframework.webflow.execution.support
Class ExternalRedirect

java.lang.Object
  extended by org.springframework.webflow.execution.ViewSelection
      extended by org.springframework.webflow.execution.support.ExternalRedirect
All Implemented Interfaces:
java.io.Serializable

public final class ExternalRedirect
extends ViewSelection

Concrete response type that requests a redirect to an external URL outside of Spring Web Flow.

Author:
Keith Donald, Erwin Vervaet
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.webflow.execution.ViewSelection
NULL_VIEW
 
Constructor Summary
ExternalRedirect(java.lang.String url)
          Creates an external redirect request.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getUrl()
          Returns the external URL to redirect to.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalRedirect

public ExternalRedirect(java.lang.String url)
Creates an external redirect request.

Parameters:
url - the url path to redirect to
Method Detail

getUrl

public java.lang.String getUrl()
Returns the external URL to redirect to.


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 Spring Framework. All Rights Reserved.