t

com.lightbend.lagom.scaladsl.client

ServiceClientContext

trait ServiceClientContext extends AnyRef

The service client context.

This API should not be used directly, it will be invoked by the client generated by ServiceClient.implement in order to implement each service call and topic.

The service client context is essentially a map of service calls and topics, constructed from a service descriptor, that allows a ServiceCall to be easily constructed by the services methods.

Although this API should not directly be used by end users, the code generated by the ServiceClient macro does cause end users to have a binary dependency on this class, which is why it's in the scaladsl package.

Source
ServiceClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServiceClientContext
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def createServiceCall[Request, Response](methodName: String, params: Seq[Any]): ServiceCall[Request, Response]

    Create a service call for the given method name and passed in parameters.

  2. abstract def createTopic[Message](methodName: String): Topic[Message]

    Create a topic for the given method name.