Packages

object ConnectHttp

Source
ConnectHttp.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectHttp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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.

  2. 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.

  3. def toHost(uriHost: Uri): ConnectHttp

    Extracts HTTP or HTTPS connection data from given Uri.

  4. 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])
  5. 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])
  6. 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])