Class WireMockHttpResponseSpec
java.lang.Object
pl.kubie.fluentmocks.http.wiremock.WireMockHttpResponseSpec
- All Implemented Interfaces:
MockHttpResponseSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody(Consumer<ResponseBody> bodyCustomizer) com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilderbuild()statusCode(int statusCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.kubie.fluentmocks.http.api.response.MockHttpResponseSpec
contentType
-
Constructor Details
-
WireMockHttpResponseSpec
-
-
Method Details
-
body
- Specified by:
bodyin interfaceMockHttpResponseSpec
-
statusCode
- Specified by:
statusCodein interfaceMockHttpResponseSpec
-
header
- Specified by:
headerin interfaceMockHttpResponseSpec
-
cookie
- Specified by:
cookiein interfaceMockHttpResponseSpec
-
delayed
- Specified by:
delayedin interfaceMockHttpResponseSpec
-
build
public com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder build()
-