Home
last modified time | relevance | path

Searched refs:HttpConnection (Results 1 – 13 of 13) sorted by relevance

/external/okhttp/src/main/java/libcore/net/http/
DHttpConnectionPool.java46 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 …]
DHttpConnection.java52 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()
DHttpEngine.java99 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()
DHttpsURLConnectionImpl.java384 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()
DHttpURLConnectionImpl.java260 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine()
/external/apache-http/src/org/apache/http/impl/conn/
DIdleConnectionHandler.java40 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/
DRequestTargetHost.java37 import org.apache.http.HttpConnection;
74 HttpConnection conn = (HttpConnection) context in process()
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java35 import org.apache.http.HttpConnection;
89 HttpConnection conn = (HttpConnection) in keepAlive()
/external/apache-http/src/org/apache/http/
DHttpInetConnection.java45 public interface HttpInetConnection extends HttpConnection {
DHttpConnection.java45 public interface HttpConnection { interface
DHttpServerConnection.java46 public interface HttpServerConnection extends HttpConnection {
DHttpClientConnection.java48 public interface HttpClientConnection extends HttpConnection {
/external/webkit/Source/WebKit/qt/
DChangeLog-2011-02-1626175 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
27333 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):