Package akka.http.javadsl
Class ConnectHttp$
java.lang.Object
akka.http.javadsl.ConnectHttp$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConnectHttp$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionExtracts HTTP or HTTPS connection data from given Uri.Extract HTTP or HTTPS connection data from given host.Extracts HTTP or HTTPS connection data from given host and port.toHostHttps
(Uri uriHost) Extracts HTTPS connection data from given host and port.toHostHttps
(String host) Extracts HTTPS connection data from given host and port.toHostHttps
(String host, int port) Extracts HTTPS connection data from given host and port, using the default HTTPS context.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ConnectHttp$
public ConnectHttp$()
-
-
Method Details
-
toHost
Extracts HTTP or HTTPS connection data from given Uri. -
toHost
Extract HTTP or HTTPS connection data from given host.The host string may contain a URI or a
: pair. - Parameters:
host
- (undocumented)- Returns:
- (undocumented)
-
toHost
Extracts HTTP or HTTPS connection data from given host and port.The host string may contain a URI or a
: pair. In both cases the port is ignored. 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
akka.http.javadsl.Http.ServerBinding
.- Parameters:
host
- (undocumented)port
- (undocumented)- Returns:
- (undocumented)
-
toHostHttps
Extracts HTTPS connection data from given host and port.Uses the default HTTPS context.
- Parameters:
uriHost
- (undocumented)- Returns:
- (undocumented)
- Throws:
IllegalArgumentException
-
toHostHttps
Extracts HTTPS connection data from given host and port.The host string may contain a URI or a
: pair. Uses the default HTTPS context.
- Parameters:
host
- (undocumented)- Returns:
- (undocumented)
- Throws:
IllegalArgumentException
-
toHostHttps
Extracts HTTPS connection data from given host and port, using the default HTTPS context.The host string may contain a URI or a
: pair. In both cases the port is ignored. 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
akka.http.javadsl.Http.ServerBinding
.Uses the default HTTPS context.
- Parameters:
host
- (undocumented)port
- (undocumented)- Returns:
- (undocumented)
- Throws:
IllegalArgumentException
-