Package org.htmlunit.httpclient
Class HtmlUnitRedirectStrategie
- java.lang.Object
-
- org.apache.http.impl.client.DefaultRedirectStrategy
-
- org.htmlunit.httpclient.HtmlUnitRedirectStrategie
-
- All Implemented Interfaces:
org.apache.http.client.RedirectStrategy
public final class HtmlUnitRedirectStrategie extends org.apache.http.impl.client.DefaultRedirectStrategy
Customized DefaultRedirectStrategy for HtmlUnit.
-
-
Constructor Summary
Constructors Constructor Description HtmlUnitRedirectStrategie()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRedirected(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
isRedirected
public boolean isRedirected(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.ProtocolException
- Specified by:
isRedirected
in interfaceorg.apache.http.client.RedirectStrategy
- Overrides:
isRedirected
in classorg.apache.http.impl.client.DefaultRedirectStrategy
- Throws:
org.apache.http.ProtocolException
-
-