sealed trait Call[Request, Response] extends AnyRef
- Alphabetic
- By Inheritance
- Call
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
autoAcl: Option[Boolean]
Whether this service call should automatically define an ACL for the router to route external calls to it.
Whether this service call should automatically define an ACL for the router to route external calls to it.
- returns
Some value if this service call explicitly decides that it should have an auto ACL defined for it, otherwise empty.
-
abstract
val
callId: CallId
The id of the call.
The id of the call.
Used for routing purposes, may be a name, or could be a REST method and path pattern.
-
abstract
val
circuitBreaker: Option[CircuitBreaker]
The configured circuit breaker.
The configured circuit breaker.
- returns
Some value if this service call wants to override the circuit breaker configured for its service, otherwise empty.
-
abstract
val
requestSerializer: MessageSerializer[Request, _]
The request message serializer.
-
abstract
val
responseSerializer: MessageSerializer[Response, _]
The response message serializer.
-
abstract
val
serviceCallHolder: ServiceCallHolder
A holder for the service call.
A holder for the service call.
This holds a reference to the service call, in an implementation specific way.
-
abstract
def
withAutoAcl(autoAcl: Boolean): Call[Request, Response]
Return a copy of this call with autoAcl configured.
Return a copy of this call with autoAcl configured.
This will override auto ACL setting configured on the service descriptor.
-
abstract
def
withCircuitBreaker(circuitBreaker: CircuitBreaker): Call[Request, Response]
Return a copy of this call with the given circuit breaker configured.
Return a copy of this call with the given circuit breaker configured.
This will override the circuit breaker configured on the service descriptor.
-
abstract
def
withRequestSerializer(requestSerializer: MessageSerializer[Request, _]): Call[Request, Response]
Return a copy of this call with the given request serializer configured.
-
abstract
def
withResponseSerializer(responseSerializer: MessageSerializer[Response, _]): Call[Request, Response]
Return a copy of this call with the given request serializer configured.
-
abstract
def
withServiceCallHolder(serviceCallHolder: ServiceCallHolder): Call[Request, Response]
Return a copy of this call with the given service call holder configured.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Call[Request, Response], B)
-
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( ... ) @native()
- def ensuring(cond: (Call[Request, Response]) ⇒ Boolean, msg: ⇒ Any): Call[Request, Response]
- def ensuring(cond: (Call[Request, Response]) ⇒ Boolean): Call[Request, Response]
- def ensuring(cond: Boolean, msg: ⇒ Any): Call[Request, Response]
- def ensuring(cond: Boolean): Call[Request, Response]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- 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
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()
- def →[B](y: B): (Call[Request, Response], B)