Home
last modified time | relevance | path

Searched refs:HttpHost (Results 1 – 25 of 43) sorted by relevance

12

/external/apache-http/src/org/apache/http/conn/routing/
DHttpRoute.java36 import org.apache.http.HttpHost;
59 private final HttpHost targetHost;
68 private final HttpHost[] proxyChain;
101 HttpHost target, HttpHost[] proxies, in HttpRoute()
141 public HttpRoute(HttpHost target, InetAddress local, HttpHost[] proxies, in HttpRoute()
164 public HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, in HttpRoute()
180 public HttpRoute(HttpHost target, InetAddress local, boolean secure) { in HttpRoute()
190 public HttpRoute(HttpHost target) { in HttpRoute()
208 public HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, in HttpRoute()
227 private static HttpHost[] toChain(HttpHost proxy) { in toChain()
[all …]
DRouteTracker.java36 import org.apache.http.HttpHost;
58 private final HttpHost targetHost;
73 private HttpHost[] proxyChain;
93 public RouteTracker(HttpHost target, InetAddress local) { in RouteTracker()
138 public final void connectProxy(HttpHost proxy, boolean secure) { in connectProxy()
146 this.proxyChain = new HttpHost[]{ proxy }; in connectProxy()
178 public final void tunnelProxy(HttpHost proxy, boolean secure) { in tunnelProxy()
190 HttpHost[] proxies = new HttpHost[this.proxyChain.length+1]; in tunnelProxy()
220 public final HttpHost getTargetHost() { in getTargetHost()
245 public final HttpHost getHopTarget(int hop) { in getHopTarget()
[all …]
DRouteInfo.java36 import org.apache.http.HttpHost;
89 HttpHost getTargetHost() in getTargetHost()
130 HttpHost getHopTarget(int hop) in getHopTarget()
140 HttpHost getProxyHost() in getProxyHost()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java41 import org.apache.http.HttpHost;
49 private final LinkedHashMap<HttpHost, LinkedList<Request>> mPending;
54 private HttpHost mProxyHost = null;
135 public HttpHost getProxyHost() { in getProxyHost()
153 ConnectionThread getThread(HttpHost host) { in getThread()
166 public Connection getConnection(Context context, HttpHost host) { in getConnection()
208 mPending = new LinkedHashMap<HttpHost, LinkedList<Request>>(32); in RequestQueue()
266 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); in setProxyConfig()
275 public HttpHost getProxyHost() { in getProxyHost()
323 HttpHost httpHost = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); in queueRequest()
[all …]
DIdleCache.java23 import org.apache.http.HttpHost;
30 HttpHost mHost;
64 HttpHost host, Connection connection) { in cacheConnection()
94 synchronized Connection getConnection(HttpHost host) { in getConnection()
100 HttpHost eHost = entry.mHost; in getConnection()
DRequestFeeder.java23 import org.apache.http.HttpHost;
28 Request getRequest(HttpHost host); in getRequest()
33 boolean haveRequest(HttpHost host); in haveRequest()
/external/apache-http/src/org/apache/http/
DHttpHost.java55 public final class HttpHost implements Cloneable { class
85 public HttpHost(final String hostname, int port, final String scheme) { in HttpHost() method in HttpHost
107 public HttpHost(final String hostname, int port) { in HttpHost() method in HttpHost
116 public HttpHost(final String hostname) { in HttpHost() method in HttpHost
125 public HttpHost (final HttpHost httphost) { in HttpHost() method in HttpHost
198 if (obj instanceof HttpHost) { in equals()
199 HttpHost that = (HttpHost) obj; in equals()
/external/apache-http/src/org/apache/http/conn/params/
DConnRouteParams.java36 import org.apache.http.HttpHost;
65 public static final HttpHost NO_HOST =
66 new HttpHost("127.0.0.255", 0, "no-host");
92 public static HttpHost getDefaultProxy(HttpParams params) { in getDefaultProxy()
96 HttpHost proxy = (HttpHost) in getDefaultProxy()
117 HttpHost proxy) { in setDefaultProxy()
/external/apache-http/src/org/apache/http/impl/conn/
DProxySelectorRoutePlanner.java44 import org.apache.http.HttpHost;
123 public HttpRoute determineRoute(HttpHost target, in determineRoute()
153 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); in determineRoute()
189 protected HttpHost determineProxy(HttpHost target, in determineProxy()
212 HttpHost result = null; in determineProxy()
221 result = new HttpHost(getHost(isa), isa.getPort()); in determineProxy()
267 HttpHost target, in chooseProxy()
DDefaultClientConnection.java42 import org.apache.http.HttpHost;
82 private HttpHost targetHost;
96 public final HttpHost getTargetHost() { in getTargetHost()
113 public void opening(Socket sock, HttpHost target) throws IOException { in opening()
214 public void update(Socket sock, HttpHost target, in update()
DAbstractPoolEntry.java36 import org.apache.http.HttpHost;
167 final HttpHost proxy = route.getProxyHost(); in open()
244 public void tunnelProxy(HttpHost next, boolean secure, HttpParams params) in tunnelProxy()
305 final HttpHost target = tracker.getTargetHost(); in layerProtocol()
DDefaultHttpRoutePlanner.java38 import org.apache.http.HttpHost;
83 public HttpRoute determineRoute(HttpHost target, in determineRoute()
109 final HttpHost proxy = in determineRoute()
/external/apache-http/src/org/apache/http/conn/
DHttpHostConnectException.java35 import org.apache.http.HttpHost;
50 private final HttpHost host;
52 public HttpHostConnectException(final HttpHost host, final ConnectException cause) { in HttpHostConnectException()
58 public HttpHost getHost() { in getHost()
DOperatedClientConnection.java38 import org.apache.http.HttpHost;
77 HttpHost getTargetHost() in getTargetHost()
130 void opening(Socket sock, HttpHost target) in opening()
173 void update(Socket sock, HttpHost target, in update()
DClientConnectionOperator.java37 import org.apache.http.HttpHost;
93 HttpHost target, in openConnection()
117 HttpHost target, in updateSecureConnection()
/external/apache-http/src/org/apache/http/client/
DHttpClient.java36 import org.apache.http.HttpHost;
144 HttpResponse execute(HttpHost target, HttpRequest request) in execute()
167 HttpResponse execute(HttpHost target, HttpRequest request, in execute()
223 HttpHost target, in execute()
247 HttpHost target, in execute()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpRequestInfo.java3 import org.apache.http.HttpHost;
10 HttpHost httpHost;
14 …public HttpRequestInfo(HttpRequest httpRequest, HttpHost httpHost, HttpContext httpContext, Reques… in HttpRequestInfo()
25 public HttpHost getHttpHost() { in getHttpHost()
DDefaultRequestDirector.java45 import org.apache.http.HttpHost;
188 private HttpHost virtualHost;
329 HttpHost target = route.getTargetHost(); in rewriteRequestURI()
349 @Override public HttpResponse execute(HttpHost target, HttpRequest request, in execute()
358 virtualHost = (HttpHost) orig.getParams().getParameter( in execute()
446 HttpHost proxy = route.getProxyHost(); in execute()
638 protected HttpRoute determineRoute(HttpHost target, in determineRoute()
644 target = (HttpHost) request.getParams().getParameter( in determineRoute()
747 HttpHost proxy = route.getProxyHost(); in createTunnelToTarget()
748 HttpHost target = route.getTargetHost(); in createTunnelToTarget()
[all …]
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java16 import org.apache.http.HttpHost;
111 return new HttpHost(address.getHostName(), address.getPort());
118 HttpHost host = (HttpHost) value;
165 @Override public HttpResponse execute(HttpHost host, HttpRequest request) throws IOException { in execute()
169 @Override public HttpResponse execute(HttpHost host, HttpRequest request, HttpContext context) in execute()
186 @Override public <T> T execute(HttpHost host, HttpRequest request, in execute()
191 @Override public <T> T execute(HttpHost host, HttpRequest request, in execute()
/external/apache-http/src/org/apache/http/protocol/
DRequestTargetHost.java39 import org.apache.http.HttpHost;
76 HttpHost targethost = (HttpHost) context in process()
87 targethost = new HttpHost(address.getHostName(), port); in process()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/
DShadowAndroidHttpClient.java6 import org.apache.http.HttpHost;
61 protected HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) in execute()
68 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute()
91 HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) in execute()
98 HttpHost httpHost, in execute()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRedirectHandler.java40 import org.apache.http.HttpHost;
133 HttpHost target = (HttpHost) context.getAttribute( in getLocationURI()
165 HttpHost target = new HttpHost( in getLocationURI()
DAbstractHttpClient.java42 import org.apache.http.HttpHost;
495 private HttpHost determineTarget(HttpUriRequest request) { in determineTarget()
498 HttpHost target = null; in determineTarget()
502 target = new HttpHost( in determineTarget()
511 public final HttpResponse execute(HttpHost target, HttpRequest request) in execute()
519 public final HttpResponse execute(HttpHost target, HttpRequest request, in execute()
631 HttpHost target = determineTarget(request); in execute()
638 final HttpHost target, in execute()
648 final HttpHost target, in execute()
DDefaultRequestDirector.java50 import org.apache.http.HttpHost;
272 HttpHost target = route.getTargetHost(); in rewriteRequestURI()
292 public HttpResponse execute(HttpHost target, HttpRequest request, in execute()
392 target = (HttpHost) wrapper.getParams().getParameter( in execute()
399 HttpHost proxy = route.getProxyHost(); in execute()
583 protected HttpRoute determineRoute(HttpHost target, in determineRoute()
589 target = (HttpHost) request.getParams().getParameter( in determineRoute()
714 HttpHost proxy = route.getProxyHost(); in createTunnelToTarget()
715 HttpHost target = route.getTargetHost(); in createTunnelToTarget()
881 HttpHost target = route.getTargetHost(); in createConnectRequest()
[all …]
/external/apache-http/src/org/apache/http/client/params/
DClientParamBean.java37 import org.apache.http.HttpHost;
86 public void setVirtualHost (final HttpHost host) { in setVirtualHost()
94 public void setDefaultHost (final HttpHost host) { in setDefaultHost()

12