- withBody(ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withBody(String) - Method in class com.github.tashoyan.httpspy.DefaultResponseBuilder
-
- withBody(ValueExpectation) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request body.
- withBody(String) - Method in interface com.github.tashoyan.httpspy.ResponseBuilder
-
Specifies response body.
- withDelay(TimeUnit, long) - Method in class com.github.tashoyan.httpspy.DefaultResponseBuilder
-
- withDelay(TimeUnit, long) - Method in interface com.github.tashoyan.httpspy.ResponseBuilder
-
Specifies response delay.
- withHeader(String) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withHeader(String, ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withHeader(String, int, ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withHeader(String, String) - Method in class com.github.tashoyan.httpspy.DefaultResponseBuilder
-
- withHeader(String) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request header without any expectations on its value.
- withHeader(String, ValueExpectation) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request header with its value, but without position in
the list of header values.
- withHeader(String, int, ValueExpectation) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request header with its value and position in the list
of header values.
- withHeader(String, String) - Method in interface com.github.tashoyan.httpspy.ResponseBuilder
-
Specifies response header.
- withMethod(ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withMethod(ValueExpectation) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request method.
- withoutHeader(String) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withoutHeader(String) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies that request is not expected to have this header.
- WithoutHeaderRequestMatcher - Class in com.github.tashoyan.httpspy
-
Matcher to verify that a request does have the specified header.
- WithoutHeaderRequestMatcher(String) - Constructor for class com.github.tashoyan.httpspy.WithoutHeaderRequestMatcher
-
Creates new matcher.
- withPath(ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withPath(ValueExpectation) - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-
Specifies expected request path.
- withRequestAttribute(Function<HttpRequest, Object>, String, ValueExpectation) - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
Sets expectation on the value of a request attribute.
- withStatus(int) - Method in class com.github.tashoyan.httpspy.DefaultResponseBuilder
-
- withStatus(int) - Method in interface com.github.tashoyan.httpspy.ResponseBuilder
-
Specifies response status code.
- withStrictHeaders() - Method in class com.github.tashoyan.httpspy.DefaultRequestExpectationBuilder
-
- withStrictHeaders() - Method in interface com.github.tashoyan.httpspy.RequestExpectationBuilder
-