Constants
public
static
final
String
REDIRECT_LOCATIONS
Constant Value:
"http.protocol.redirect-locations"
Public Constructors
public
DefaultRedirectStrategy
()
Public Methods
Determines the redirect location given the response from the target
server and the current request execution context and generates a new
request to be sent to the location.
Parameters
request
| the executed request |
response
| the response received from the target server |
context
| the context for the request execution |
Determines if a request should be redirected to a new location
given the response from the target server.
Parameters
request
| the executed request |
response
| the response received from the target server |
context
| the context for the request execution |
Returns
true
if the request should be redirected, false
otherwise
Protected Methods
protected
URI
createLocationURI
(String location)