public final class HttpsHandler extends HttpHandler
| Constructor and Description |
|---|
HttpsHandler() |
| Modifier and Type | Method and Description |
|---|---|
static OkUrlFactory |
createHttpsOkUrlFactory(Proxy proxy)
Creates an OkHttpClient suitable for creating
HttpsURLConnection instances on
Android. |
protected int |
getDefaultPort()
Returns the default port of the protocol used by the handled URL.
|
protected OkUrlFactory |
newOkUrlFactory(Proxy proxy) |
createHttpOkUrlFactory, openConnection, openConnectionequals, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormprotected int getDefaultPort()
URLStreamHandler-1.getDefaultPort in class HttpHandlerprotected OkUrlFactory newOkUrlFactory(Proxy proxy)
newOkUrlFactory in class HttpHandlerpublic static OkUrlFactory createHttpsOkUrlFactory(Proxy proxy)
HttpsURLConnection instances on
Android.