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
- def apply()(implicit system: ActorSystem): HttpExt
-
def
apply(system: ClassicActorSystemProvider): HttpExt
- Definition Classes
- ExtensionId
-
def
apply(system: ActorSystem): HttpExt
- Definition Classes
- ExtensionId
-
def
createExtension(system: ExtendedActorSystem): HttpExt
- Definition Classes
- Http → ExtensionId
-
final
def
equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
get(system: ClassicActorSystemProvider): HttpExt
- Definition Classes
- ExtensionId
-
def
get(system: ActorSystem): HttpExt
- Definition Classes
- ExtensionId
-
final
def
hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
lookup(): Http.type
- Definition Classes
- Http → ExtensionIdProvider
- object HttpConnectionTerminated extends HttpConnectionTerminated
- object HttpServerTerminated extends HttpServerTerminated