Packages

trait CallDefinition[Self, Req, Res] extends ActionBuilder

Trait to reuse code for specifying checks and call options.

Self

Curiously Recurring Template Pattern

Req

request

Res

response

Linear Supertypes
ActionBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CallDefinition
  2. ActionBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Check[R] <: CheckWithSelfType[Wrap[R], Check[R]]
  2. abstract type Wrap[_]

    Wraps around Res for checking.

    Wraps around Res for checking. GrpcResponse[Res] (which includes status and trailers) for client streams and unary calls; simply Res for server and bidi-streams.

Abstract Value Members

  1. abstract def build(ctx: ScenarioContext, next: Action): Action
    Definition Classes
    ActionBuilder
  2. abstract def check(checks: Check[Res]*): Self

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def callOptions(callOptions: => CallOptions): Self

    Sets call options of the call.

    Sets call options of the call.

    callOptions

    is a call-by-name param, it will be run every time the call is executed.

    returns

    a new GrpcCallActionBuilder

  6. def callOptions(callOptions: Expression[CallOptions]): Self
  7. def checkIf(condition: (Wrap[Res], Session) => Validation[Boolean])(thenChecks: Check[Res]*): Self
  8. def checkIf(condition: Expression[Boolean])(thenChecks: Check[Res]*): Self
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def extract[X](f: (Res) => Validation[Option[X]])(ts: (Find[ResponseExtract, Res, X]) => Check[Res]*): Self
  13. def extractIf[X](condition: (Wrap[Res], Session) => Validation[Boolean])(f: (Res) => Validation[Option[X]])(ts: (Find[ResponseExtract, Res, X]) => Check[Res]*): Self
  14. def extractIf[X](condition: Expression[Boolean])(f: (Res) => Validation[Option[X]])(ts: (Find[ResponseExtract, Res, X]) => Check[Res]*): Self
  15. def extractMultiple[X](f: (Res) => Validation[Option[Seq[X]]])(ts: (MultipleFind[ResponseExtract, Res, X]) => Check[Res]*): Self
  16. def extractMultipleIf[X](condition: (Wrap[Res], Session) => Validation[Boolean])(f: (Res) => Validation[Option[Seq[X]]])(ts: (MultipleFind[ResponseExtract, Res, X]) => Check[Res]*): Self
  17. def extractMultipleIf[X](condition: Expression[Boolean])(f: (Res) => Validation[Option[Seq[X]]])(ts: (MultipleFind[ResponseExtract, Res, X]) => Check[Res]*): Self
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def header[T](key: Key[T])(value: Expression[T]): Self
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def target(protocol: GrpcProtocol): Self
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ActionBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped