Searched refs:HttpConnection (Results 1 – 13 of 13) sorted by relevance
/external/okhttp/src/main/java/libcore/net/http/ |
D | HttpConnectionPool.java | 46 private final HashMap<HttpConnection.Address, List<HttpConnection>> connectionPool 47 = new HashMap<HttpConnection.Address, List<HttpConnection>>(); 62 public HttpConnection get(HttpConnection.Address address, int connectTimeout) in get() 66 List<HttpConnection> connections = connectionPool.get(address); in get() 68 HttpConnection connection = connections.get(connections.size() - 1); in get() 96 public void recycle(HttpConnection connection) { in recycle() 112 HttpConnection.Address address = connection.getAddress(); in recycle() 114 List<HttpConnection> connections = connectionPool.get(address); in recycle() 116 connections = new ArrayList<HttpConnection>(); in recycle() 135 public void share(HttpConnection connection) { in share() [all …]
|
D | HttpConnection.java | 52 final class HttpConnection { class 81 private HttpConnection(Address config, int connectTimeout) throws IOException { in HttpConnection() method in HttpConnection 125 public static HttpConnection connect(URI uri, SSLSocketFactory sslSocketFactory, in connect() 369 public HttpConnection connect(int connectTimeout) throws IOException { in connect() 370 return new HttpConnection(this, connectTimeout); in connect()
|
D | HttpEngine.java | 99 protected HttpConnection connection; 153 HttpConnection connection, RetryableOutputStream requestBodyOut) throws IOException { in HttpEngine() 279 protected final HttpConnection openSocketConnection() throws IOException { in openSocketConnection() 280 HttpConnection result = HttpConnection.connect(uri, getSslSocketFactory(), in openSocketConnection() 353 public final HttpConnection getConnection() { in getConnection()
|
D | HttpsURLConnectionImpl.java | 384 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine() 419 HttpConnection connection, RetryableOutputStream requestBody, in HttpsEngine() 480 private void makeTunnel(HttpURLConnectionImpl policy, HttpConnection connection, in makeTunnel() 527 HttpConnection connection) throws IOException { in ProxyConnectEngine()
|
D | HttpURLConnectionImpl.java | 260 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | IdleConnectionHandler.java | 40 import org.apache.http.HttpConnection; 57 private final Map<HttpConnection,TimeValues> connectionToTimes; 62 connectionToTimes = new HashMap<HttpConnection,TimeValues>(); in IdleConnectionHandler() 73 public void add(HttpConnection connection, long validDuration, TimeUnit unit) { in add() 92 public boolean remove(HttpConnection connection) { in remove() 124 Iterator<HttpConnection> connectionIter = in closeIdleConnections() 128 HttpConnection conn = connectionIter.next(); in closeIdleConnections() 152 Iterator<HttpConnection> connectionIter = in closeExpiredConnections() 156 HttpConnection conn = connectionIter.next(); in closeExpiredConnections()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestTargetHost.java | 37 import org.apache.http.HttpConnection; 74 HttpConnection conn = (HttpConnection) context in process()
|
/external/apache-http/src/org/apache/http/impl/ |
D | DefaultConnectionReuseStrategy.java | 35 import org.apache.http.HttpConnection; 89 HttpConnection conn = (HttpConnection) in keepAlive()
|
/external/apache-http/src/org/apache/http/ |
D | HttpInetConnection.java | 45 public interface HttpInetConnection extends HttpConnection {
|
D | HttpConnection.java | 45 public interface HttpConnection { interface
|
D | HttpServerConnection.java | 46 public interface HttpServerConnection extends HttpConnection {
|
D | HttpClientConnection.java | 48 public interface HttpClientConnection extends HttpConnection {
|
/external/webkit/Source/WebKit/qt/ |
D | ChangeLog-2011-02-16 | 26175 (WebCore::WebCoreHttp::HttpConnection::HttpConnection): 27333 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
|