Packages

c

akka.http.scaladsl.Http

IncomingConnection

final case class IncomingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, _flow: Flow[HttpResponse, HttpRequest, ServerTerminator]) extends Product with Serializable

Represents one accepted incoming HTTP connection.

Source
Http.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IncomingConnection
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IncomingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, _flow: Flow[HttpResponse, HttpRequest, ServerTerminator])

Value Members

  1. val _flow: Flow[HttpResponse, HttpRequest, ServerTerminator]
  2. def flow: Flow[HttpResponse, HttpRequest, NotUsed]
  3. def handleWith[Mat](handler: Flow[HttpRequest, HttpResponse, Mat])(implicit fm: Materializer): Mat

    Handles the connection with the given flow, which is materialized exactly once and the respective materialization result returned.

  4. def handleWithAsyncHandler(handler: (HttpRequest) => Future[HttpResponse], parallelism: Int = 1)(implicit fm: Materializer): Unit

    Handles the connection with the given handler function.

  5. def handleWithSyncHandler(handler: (HttpRequest) => HttpResponse)(implicit fm: Materializer): Unit

    Handles the connection with the given handler function.

  6. val localAddress: InetSocketAddress
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. val remoteAddress: InetSocketAddress