public final class ConnectHttpsImpl extends ConnectWithHttps
Constructor and Description |
---|
ConnectHttpsImpl(java.lang.String host,
int port,
java.util.Optional<HttpsConnectionContext> context) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<HttpsConnectionContext> |
connectionContext() |
java.util.Optional<HttpsConnectionContext> |
context() |
java.lang.String |
host() |
boolean |
isHttps() |
int |
port() |
ConnectWithHttps |
withCustomHttpsContext(HttpsConnectionContext context) |
ConnectWithHttps |
withDefaultHttpsContext() |
effectiveConnectionContext, effectiveHttpsConnectionContext, toHost, toHost, toHost, toHostHttps, toHostHttps, toHostHttps, toString
public ConnectHttpsImpl(java.lang.String host, int port, java.util.Optional<HttpsConnectionContext> context)
public java.lang.String host()
host
in class ConnectHttp
public int port()
port
in class ConnectHttp
public java.util.Optional<HttpsConnectionContext> context()
public boolean isHttps()
isHttps
in class ConnectHttp
public ConnectWithHttps withCustomHttpsContext(HttpsConnectionContext context)
withCustomHttpsContext
in class ConnectWithHttps
public ConnectWithHttps withDefaultHttpsContext()
withDefaultHttpsContext
in class ConnectWithHttps
public java.util.Optional<HttpsConnectionContext> connectionContext()
connectionContext
in class ConnectHttp