case class HttpEndpointFlow[T](endpoint: HttpEndpoint, flowMaker: (HttpEndpoint) ⇒ Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]) extends Product with Serializable
This class represents an encapsulation of an Http endpoint with it's corresponding flow. The flow can be used to send HttpRequests and receive HttpResponses on the other end from the associated endpoint. The T type parameter determines the type of the companion object that is carried throughout the flow together with the request to match up requests with responses in cases these may arrive out of order.
- T
the type of the companion object
- endpoint
the http endpoint
- flowMaker
a function that can make a flow out of the endpoint
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpEndpointFlow
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
HttpEndpointFlow(endpoint: HttpEndpoint, flowMaker: (HttpEndpoint) ⇒ Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed])
- endpoint
the http endpoint
- flowMaker
a function that can make a flow out of the endpoint
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val endpoint: HttpEndpoint
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- lazy val flow: Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
- val flowMaker: (HttpEndpoint) ⇒ Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
-
final
def
getClass(): Class[_]
- 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
-
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
- @native() @throws( ... )