public interface RequestStubbing extends RequestMatching<RequestStubbing>
|Modifier and Type||Method and Description|
Finishes the WHEN part of this stubbing and starts the THEN part.
Finishes the WHEN part of this stubbing and allows to define the THEN part in a dynamic way.
havingBody, havingBodyEqualTo, havingHeader, havingHeader, havingHeaderEqualTo, havingHeaders, havingMethod, havingMethodEqualTo, havingParameter, havingParameter, havingParameterEqualTo, havingParameters, havingPath, havingPathEqualTo, havingQueryString, havingQueryStringEqualTo, havingRawBodyEqualTo, that
void respondUsing(Responder responder)
Responderinstance (usually in a form of an anonymous inner class) which dynamically creates an http response to be returned when an incoming http request matches the WHEN part.
Copyright © 2016. All Rights Reserved.