ipworks
Class HttpRedirectEvent
java.lang.Object
java.util.EventObject
ipworks.HttpRedirectEvent
- All Implemented Interfaces:
- java.io.Serializable
public class HttpRedirectEvent
- extends java.util.EventObject
Fired when a redirection is received from the server.
This event is where the client can decide whether to continue with the redirection process or not.
The Accept parameter is always true by default, but if you do not want to follow the redirection, Accept may be set to false, in which case the bean throws an exception. Location is the location to which the client is being redirected.
Further control over redirection is provided in the FollowRedirects
property.
- See Also:
Http
,
Http.RedirectEvent
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
location
public java.lang.String location
accept
public boolean accept
Copyright (c) 2013 /n software inc. - All rights reserved.