Uses of Class
java.net.HttpURLConnection
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http | |
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
-
Uses of HttpURLConnection in com.squareup.okhttp
Methods in com.squareup.okhttp that return HttpURLConnection Modifier and Type Method Description HttpURLConnectionOkHttpClient. open(URL url)Methods in com.squareup.okhttp with parameters of type HttpURLConnection Modifier and Type Method Description voidOkResponseCache. update(CacheResponse conditionalCacheHit, HttpURLConnection connection)Handles a conditional request hit by updating the stored cache response with the headers fromhttpConnection. -
Uses of HttpURLConnection in com.squareup.okhttp.internal.http
Subclasses of HttpURLConnection in com.squareup.okhttp.internal.http Modifier and Type Class Description classHttpsURLConnectionImplclassHttpURLConnectionImplThis implementation uses HttpEngine to send requests and receive responses.Methods in com.squareup.okhttp.internal.http that return HttpURLConnection Modifier and Type Method Description HttpURLConnectionHttpURLConnectionImpl. getHttpConnectionToCache()HttpURLConnectionPolicy. getHttpConnectionToCache()Returns the HttpURLConnection instance to store in the cache.Methods in com.squareup.okhttp.internal.http with parameters of type HttpURLConnection Modifier and Type Method Description voidDispatcher. enqueue(HttpURLConnection connection, Request request, Response.Receiver responseReceiver)voidOkResponseCacheAdapter. update(CacheResponse conditionalCacheHit, HttpURLConnection connection)Constructors in com.squareup.okhttp.internal.http with parameters of type HttpURLConnection Constructor Description Job(Dispatcher dispatcher, HttpURLConnection connection, Request request, Response.Receiver responseReceiver) -
Uses of HttpURLConnection in javax.net.ssl
Subclasses of HttpURLConnection in javax.net.ssl Modifier and Type Class Description classHttpsURLConnectionAnHttpURLConnectionfor HTTPS (RFC 2818).