object ConnectHttp
- Source
- ConnectHttp.scala
- Alphabetic
- By Inheritance
- ConnectHttp
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def toHost(host: String, port: Int): ConnectHttp
Extracts HTTP or HTTPS connection data from given host and port.
Extracts HTTP or HTTPS connection data from given host and port.
The host string may contain a URI or a <host>:<port> 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 pekko.http.javadsl.Http.ServerBinding.
- def toHost(host: String): ConnectHttp
Extract HTTP or HTTPS connection data from given host.
Extract HTTP or HTTPS connection data from given host.
The host string may contain a URI or a <host>:<port> pair.
- def toHost(uriHost: Uri): ConnectHttp
Extracts HTTP or HTTPS connection data from given Uri.
- def toHostHttps(host: String, port: Int): ConnectWithHttps
Extracts HTTPS connection data from given host and port, using the default HTTPS context.
Extracts HTTPS connection data from given host and port, using the default HTTPS context.
The host string may contain a URI or a <host>:<port> 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 org.apache.pekko.http.javadsl.Http.ServerBinding.
Uses the default HTTPS context.
- Annotations
- @throws(classOf[IllegalArgumentException])
- def toHostHttps(host: String): ConnectWithHttps
Extracts HTTPS connection data from given host and port.
Extracts HTTPS connection data from given host and port.
The host string may contain a URI or a <host>:<port> pair.
Uses the default HTTPS context.
- Annotations
- @throws(classOf[IllegalArgumentException])
- def toHostHttps(uriHost: Uri): ConnectWithHttps
Extracts HTTPS connection data from given host and port.
Extracts HTTPS connection data from given host and port.
Uses the default HTTPS context.
- Annotations
- @throws(classOf[IllegalArgumentException])