case class WiremockExpectation(requestMethod: RequestMethod = RequestMethod.Any, urlExpectation: UrlExpectation = UrlExpectation.anyUrlMatcher, headerExpectations: Seq[NameValueExpectation] = List.empty, cookieExpectations: Seq[NameValueExpectation] = List.empty, queryParamExpectations: Seq[NameValueExpectation] = List.empty, bodyExpectations: Seq[BodyValueExpectation] = List.empty, multiPartExpectations: Seq[WiremockMultiPartRequestBodyExpectation] = List.empty, response: WiremockResponse = WiremockResponse.emptySuccess, maybeScenarioInfo: Option[ScenarioInfo] = None) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WiremockExpectation
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WiremockExpectation(requestMethod: RequestMethod = RequestMethod.Any, urlExpectation: UrlExpectation = UrlExpectation.anyUrlMatcher, headerExpectations: Seq[NameValueExpectation] = List.empty, cookieExpectations: Seq[NameValueExpectation] = List.empty, queryParamExpectations: Seq[NameValueExpectation] = List.empty, bodyExpectations: Seq[BodyValueExpectation] = List.empty, multiPartExpectations: Seq[WiremockMultiPartRequestBodyExpectation] = List.empty, response: WiremockResponse = WiremockResponse.emptySuccess, maybeScenarioInfo: Option[ScenarioInfo] = None)

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. def asExpectationBuilder: MappingBuilder
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asVerificationBuilder: RequestPatternBuilder
  7. val bodyExpectations: Seq[BodyValueExpectation]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val cookieExpectations: Seq[NameValueExpectation]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val headerExpectations: Seq[NameValueExpectation]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val maybeScenarioInfo: Option[ScenarioInfo]
  16. val multiPartExpectations: Seq[WiremockMultiPartRequestBodyExpectation]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val queryParamExpectations: Seq[NameValueExpectation]
  22. val requestMethod: RequestMethod
  23. val response: WiremockResponse
  24. def setMethod(requestMethod: RequestMethod): WiremockExpectation
  25. def setScenarioInfo(scenarioInfo: ScenarioInfo): WiremockExpectation
  26. def setUrl(urlExpectation: UrlExpectation): WiremockExpectation
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. val urlExpectation: UrlExpectation
  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()
  32. def withBodies(additionalBodyExpectations: BodyValueExpectation*): WiremockExpectation
  33. def withBody(bodyExpectation: BodyValueExpectation): WiremockExpectation
  34. def withCookie(cookieExpectation: NameValueExpectation): WiremockExpectation
  35. def withHeader(headerExpectation: NameValueExpectation): WiremockExpectation
  36. def withHeaders(headerExpectations: NameValueExpectation*): WiremockExpectation
  37. def withMultiPartRequest(bodyExpectation: WiremockMultiPartRequestBodyExpectation): WiremockExpectation
  38. def withQueryParam(queryParamExpectation: NameValueExpectation): WiremockExpectation
  39. def withQueryParams(queryParamExpectations: NameValueExpectation*): WiremockExpectation
  40. def withResponse(wiremockResponse: WiremockResponse): WiremockExpectation

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped