1 package org.esigate.api;
2
3 import java.net.URI;
4
5 import org.apache.http.HttpRequest;
6 import org.apache.http.HttpResponse;
7 import org.apache.http.ProtocolException;
8 import org.apache.http.client.RedirectStrategy;
9 import org.apache.http.protocol.HttpContext;
10
11
12
13
14
15
16
17
18
19
20
21
22 public interface RedirectStrategy2 extends RedirectStrategy {
23
24 URI getLocationURI(final HttpRequest request, final HttpResponse response, final HttpContext context)
25 throws ProtocolException;
26 }