ScalaPactInteraction

class ScalaPactInteraction(description: String, providerState: Option[String], sslContextName: Option[String], request: ScalaPactRequest, response: ScalaPactResponse)
class Object
trait Matchable
class Any

Value members

Concrete methods

def provided(state: String): ScalaPactInteraction
def uponReceiving(method: HttpMethod, path: String): ScalaPactInteraction
def uponReceiving(method: HttpMethod, path: String, query: Option[String]): ScalaPactInteraction
def uponReceiving(method: HttpMethod, path: String, query: Option[String], headers: Map[String, String]): ScalaPactInteraction
def uponReceiving(method: HttpMethod, path: String, query: Option[String], headers: Map[String, String], body: String): ScalaPactInteraction
def uponReceiving(method: HttpMethod, path: String, query: Option[String], headers: Map[String, String], body: Option[String], matchingRules: ScalaPactMatchingRules): ScalaPactInteraction
def willRespondWith(status: Int, body: String): ScalaPactInteraction
def willRespondWith(status: Int, headers: Map[String, String], body: String): ScalaPactInteraction
def willRespondWith(status: Int, headers: Map[String, String], body: Option[String], matchingRules: ScalaPactMatchingRules): ScalaPactInteraction
def withSsl(sslContextName: String): ScalaPactInteraction

Deprecated methods

@deprecated("use provided - given is a keyword in Scala 3", "4.0.0")
def given(state: String): ScalaPactInteraction
Deprecated