Class WireMockVerifyHelper<T,S extends WireMockVerifyHelper<T,S>>
java.lang.Object
org.springframework.cloud.contract.wiremock.restdocs.WireMockVerifyHelper<T,S>
- Type Parameters:
T- result typeS- stub type
- Direct Known Subclasses:
ContractExchangeHandler,ContractResultHandler
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontentType(org.springframework.http.MediaType contentType) getConfiguration(T result) protected abstract org.springframework.http.MediaTypegetContentType(T result) protected abstract byte[]getRequestBodyContent(T result) protected abstract com.github.tomakehurst.wiremock.client.ResponseDefinitionBuildergetResponseDefinition(T result) protected abstract com.github.tomakehurst.wiremock.http.RequestgetWireMockRequest(T result) wiremock(com.github.tomakehurst.wiremock.client.MappingBuilder builder)
-
Constructor Details
-
WireMockVerifyHelper
public WireMockVerifyHelper()
-
-
Method Details
-
configure
-
getWireMockRequest
-
getContentType
-
getRequestBodyContent
-
getResponseDefinition
protected abstract com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder getResponseDefinition(T result) -
getConfiguration
-
wiremock
-
jsonPath
-
contentType
-