public abstract class ConnectHttp
extends java.lang.Object
| Constructor and Description | 
|---|
| ConnectHttp() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract java.util.Optional<HttpsConnectionContext> | connectionContext() | 
| ConnectionContext | effectiveConnectionContext(ConnectionContext fallbackContext) | 
| HttpsConnectionContext | effectiveHttpsConnectionContext(HttpsConnectionContext fallbackContext) | 
| abstract java.lang.String | host() | 
| abstract boolean | isHttps() | 
| abstract int | port() | 
| static ConnectHttp | toHost(java.lang.String host)Extract HTTP or HTTPS connection data from given host. | 
| static ConnectHttp | toHost(java.lang.String host,
      int port)Extracts HTTP or HTTPS connection data from given host and port. | 
| static ConnectHttp | toHost(Uri uriHost)Extracts HTTP or HTTPS connection data from given Uri. | 
| static ConnectWithHttps | toHostHttps(java.lang.String host)Extracts HTTPS connection data from given host and port. | 
| static ConnectWithHttps | toHostHttps(java.lang.String host,
           int port)Extracts HTTPS connection data from given host and port, using the default HTTPS context. | 
| static ConnectWithHttps | toHostHttps(Uri uriHost)Extracts HTTPS connection data from given host and port. | 
| java.lang.String | toString() | 
public static ConnectHttp toHost(Uri uriHost)
public static ConnectHttp toHost(java.lang.String host)
 The host string may contain a URI or a 
host - (undocumented)public static ConnectHttp toHost(java.lang.String host, int port)
 The host string may contain a URI or a  
 If the given port is 0, a new local port will be assigned by the operating system,
 which can then be retrieved by the materialized pekko.http.javadsl.Http.ServerBinding.
host - (undocumented)port - (undocumented)public static ConnectWithHttps toHostHttps(Uri uriHost) throws java.lang.IllegalArgumentException
Uses the default HTTPS context.
uriHost - (undocumented)java.lang.IllegalArgumentExceptionpublic static ConnectWithHttps toHostHttps(java.lang.String host) throws java.lang.IllegalArgumentException
 The host string may contain a URI or a  
 Uses the default HTTPS context.
host - (undocumented)java.lang.IllegalArgumentExceptionpublic static ConnectWithHttps toHostHttps(java.lang.String host, int port) throws java.lang.IllegalArgumentException
 The host string may contain a URI or a  
 If the given port is 0, a new local port will be assigned by the operating system,
 which can then be retrieved by the materialized  
 Uses the default HTTPS context.org.apache.pekko.http.javadsl.Http.ServerBinding.
 
host - (undocumented)port - (undocumented)java.lang.IllegalArgumentExceptionpublic abstract java.lang.String host()
public abstract int port()
public abstract boolean isHttps()
public abstract java.util.Optional<HttpsConnectionContext> connectionContext()
public final HttpsConnectionContext effectiveHttpsConnectionContext(HttpsConnectionContext fallbackContext)
public final ConnectionContext effectiveConnectionContext(ConnectionContext fallbackContext)
public java.lang.String toString()
toString in class java.lang.Object