trait ServiceClientConstructor extends ServiceClient
Lagom service client constructor.
This API should not be used directly, it will be invoked by the client generated by ServiceClient.implement in order to construct the client and obtain the dependencies necessary for the client to operate.
The reason for a separation between this interface and ServiceClient is so that the #construct method doesn't appear on the user facing ServiceClient API. The macro it generates will cast the ServiceClient to a ServiceClientConstructor in order to invoke it.
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
- Alphabetic
- By Inheritance
- ServiceClientConstructor
- ServiceClient
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
construct[S <: Service](constructor: (ServiceClientImplementationContext) ⇒ S): S
Construct a service client, by invoking the passed in function that takes the implementation context.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to any2stringadd[ServiceClientConstructor] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ServiceClientConstructor, B)
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to ArrowAssoc[ServiceClientConstructor] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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: (ServiceClientConstructor) ⇒ Boolean, msg: ⇒ Any): ServiceClientConstructor
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to Ensuring[ServiceClientConstructor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ServiceClientConstructor) ⇒ Boolean): ServiceClientConstructor
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to Ensuring[ServiceClientConstructor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ServiceClientConstructor
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to Ensuring[ServiceClientConstructor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ServiceClientConstructor
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to Ensuring[ServiceClientConstructor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
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
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to StringFormat[ServiceClientConstructor] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
macro
def
implement[S <: Service]: S
Implement a client for the given service descriptor.
Implement a client for the given service descriptor.
- Definition Classes
- ServiceClient
-
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): (ServiceClientConstructor, B)
- Implicit
- This member is added by an implicit conversion from ServiceClientConstructor to ArrowAssoc[ServiceClientConstructor] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc