object Http extends ExtensionId[HttpExt] with ExtensionIdProvider
- Source
- Http.scala
- Alphabetic
- By Inheritance
- Http
- ExtensionIdProvider
- ExtensionId
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ClientLayer = BidiFlow[HttpRequest, SslTlsOutbound, SslTlsInbound, HttpResponse, NotUsed]
The type of the client-side HTTP layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP client.
The type of the client-side HTTP layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP client.
+------+ HttpRequest ~>| |~> SslTlsOutbound | bidi | HttpResponse <~| |<~ SslTlsInbound +------+
-
final
case class
HostConnectionPool extends Product with Serializable
Represents a connection pool to a specific target host and pool configuration.
- sealed abstract class HttpConnectionTerminated extends HttpTerminated
- sealed abstract class HttpServerTerminated extends HttpTerminated
-
sealed abstract
class
HttpTerminated extends javadsl.HttpTerminated
Type used to carry meaningful information when server termination has completed successfully.
Type used to carry meaningful information when server termination has completed successfully.
- Annotations
- @DoNotInherit()
-
final
case class
IncomingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, _flow: Flow[HttpResponse, HttpRequest, ServerTerminator]) extends Product with Serializable
Represents one accepted incoming HTTP connection.
-
final
case class
OutgoingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress) extends Product with Serializable
Represents a prospective outgoing HTTP connection.
-
final
case class
ServerBinding(localAddress: InetSocketAddress)(unbindAction: () ⇒ Future[Unit], terminateAction: (FiniteDuration) ⇒ Future[HttpTerminated]) extends Product with Serializable
Represents a prospective HTTP server binding.
Represents a prospective HTTP server binding.
- localAddress
The local address of the endpoint bound by the materialization of the
connections
akka.stream.scaladsl.Source
-
type
ServerLayer = BidiFlow[HttpResponse, SslTlsOutbound, SslTlsInbound, HttpRequest, NotUsed]
The type of the server-side HTTP layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP server.
The type of the server-side HTTP layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP server.
+------+ HttpResponse ~>| |~> SslTlsOutbound | bidi | HttpRequest <~| |<~ SslTlsInbound +------+
-
type
WebSocketClientLayer = BidiFlow[Message, SslTlsOutbound, SslTlsInbound, Message, Future[WebSocketUpgradeResponse]]
The type of the client-side WebSocket layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP client.
The type of the client-side WebSocket layer as a stand-alone BidiFlow that can be put atop the TCP layer to form an HTTP client.
+------+ ws.Message ~>| |~> SslTlsOutbound | bidi | ws.Message <~| |<~ SslTlsInbound +------+
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
- def apply()(implicit system: ActorSystem): HttpExt
-
def
apply(system: ClassicActorSystemProvider): HttpExt
- Definition Classes
- ExtensionId
-
def
apply(system: ActorSystem): HttpExt
- Definition Classes
- ExtensionId
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createExtension(system: ExtendedActorSystem): HttpExt
- Definition Classes
- Http → ExtensionId
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(system: ClassicActorSystemProvider): HttpExt
- Definition Classes
- ExtensionId
-
def
get(system: ActorSystem): HttpExt
- Definition Classes
- ExtensionId
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lookup(): Http.type
- Definition Classes
- Http → ExtensionIdProvider
-
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
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object HttpConnectionTerminated extends HttpConnectionTerminated
- object HttpServerTerminated extends HttpServerTerminated