object ConnectHttp
- Source
- ConnectHttp.scala
- Alphabetic
- By Inheritance
- ConnectHttp
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()