c
uk.org.devthings.scala.wiremockapi.remapping
WiremockExpectation
Companion object WiremockExpectation
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
Ordering
- Alphabetic
- By Inheritance
Inherited
- WiremockExpectation
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def asExpectationBuilder: MappingBuilder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asVerificationBuilder: RequestPatternBuilder
- val bodyExpectations: Seq[BodyValueExpectation]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cookieExpectations: Seq[NameValueExpectation]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val headerExpectations: Seq[NameValueExpectation]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maybeScenarioInfo: Option[ScenarioInfo]
- val multiPartExpectations: Seq[WiremockMultiPartRequestBodyExpectation]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val queryParamExpectations: Seq[NameValueExpectation]
- val requestMethod: RequestMethod
- val response: WiremockResponse
- def setMethod(requestMethod: RequestMethod): WiremockExpectation
- def setScenarioInfo(scenarioInfo: ScenarioInfo): WiremockExpectation
- def setUrl(urlExpectation: UrlExpectation): WiremockExpectation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val urlExpectation: UrlExpectation
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withBodies(additionalBodyExpectations: BodyValueExpectation*): WiremockExpectation
- def withBody(bodyExpectation: BodyValueExpectation): WiremockExpectation
- def withCookie(cookieExpectation: NameValueExpectation): WiremockExpectation
- def withHeader(headerExpectation: NameValueExpectation): WiremockExpectation
- def withHeaders(headerExpectations: NameValueExpectation*): WiremockExpectation
- def withMultiPartRequest(bodyExpectation: WiremockMultiPartRequestBodyExpectation): WiremockExpectation
- def withQueryParam(queryParamExpectation: NameValueExpectation): WiremockExpectation
- def withQueryParams(queryParamExpectations: NameValueExpectation*): WiremockExpectation
- def withResponse(wiremockResponse: WiremockResponse): WiremockExpectation