Package akka.http.javadsl
Class ConnectHttpsImpl
- java.lang.Object
-
- akka.http.javadsl.ConnectHttp
-
- akka.http.javadsl.ConnectWithHttps
-
- akka.http.javadsl.ConnectHttpsImpl
-
public final class ConnectHttpsImpl extends ConnectWithHttps
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ConnectHttpsImpl(java.lang.String host, int port, java.util.Optional<HttpsConnectionContext> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class akka.http.javadsl.ConnectHttp
effectiveConnectionContext, effectiveHttpsConnectionContext, toHost, toHost, toHost, toHostHttps, toHostHttps, toHostHttps, toString
-
-
-
-
Constructor Detail
-
ConnectHttpsImpl
public ConnectHttpsImpl(java.lang.String host, int port, java.util.Optional<HttpsConnectionContext> context)
-
-
Method Detail
-
host
public java.lang.String host()
- Specified by:
host
in classConnectHttp
-
port
public int port()
- Specified by:
port
in classConnectHttp
-
context
public java.util.Optional<HttpsConnectionContext> context()
-
isHttps
public boolean isHttps()
- Specified by:
isHttps
in classConnectHttp
-
withCustomHttpsContext
public ConnectWithHttps withCustomHttpsContext(HttpsConnectionContext context)
- Specified by:
withCustomHttpsContext
in classConnectWithHttps
-
withDefaultHttpsContext
public ConnectWithHttps withDefaultHttpsContext()
- Specified by:
withDefaultHttpsContext
in classConnectWithHttps
-
connectionContext
public java.util.Optional<HttpsConnectionContext> connectionContext()
- Specified by:
connectionContext
in classConnectHttp
-
-