ResponseStubbing |
RequestStubbing.respond() |
Finishes the WHEN part of this stubbing and starts the THEN part.
|
ResponseStubbing |
Stubbing.respond() |
Finishes the WHEN part of this stubbing and starts the THEN part.
|
ResponseStubbing |
ResponseStubbing.thenRespond() |
Starts a definition of a subsequent stub response.
|
ResponseStubbing |
Stubbing.thenRespond() |
Starts a definition of a subsequent stub response.
|
ResponseStubbing |
ResponseStubbing.withBody(byte[] responseBody) |
Sets the stub http response body as an array of bytes.
|
ResponseStubbing |
ResponseStubbing.withBody(InputStream is) |
Sets the stub http response body as the content of the given input stream.
|
ResponseStubbing |
ResponseStubbing.withBody(Reader reader) |
Sets the stub http response body as the content of the given reader.
|
ResponseStubbing |
ResponseStubbing.withBody(String responseBody) |
Sets the stub http response body as a string.
|
ResponseStubbing |
Stubbing.withBody(byte[] responseBody) |
Sets the stub http response body as an array of bytes.
|
ResponseStubbing |
Stubbing.withBody(InputStream is) |
Sets the stub http response body as the content of the given input stream.
|
ResponseStubbing |
Stubbing.withBody(Reader reader) |
Sets the stub http response body as the content of the given reader.
|
ResponseStubbing |
Stubbing.withBody(String responseBody) |
Sets the stub http response body as a string.
|
ResponseStubbing |
ResponseStubbing.withContentType(String contentType) |
Sets the content type of the http stub response.
|
ResponseStubbing |
Stubbing.withContentType(String contentType) |
Sets the content type of the http stub response.
|
ResponseStubbing |
ResponseStubbing.withDelay(long delayValue,
TimeUnit delayUnit) |
Sets the response delay.
|
ResponseStubbing |
Stubbing.withDelay(long delayValue,
TimeUnit delayUnit) |
Sets the response delay.
|
ResponseStubbing |
ResponseStubbing.withEncoding(Charset encoding) |
Sets the character encoding of the http stub response.
|
ResponseStubbing |
Stubbing.withEncoding(Charset encoding) |
Sets the character encoding of the http stub response.
|
ResponseStubbing |
ResponseStubbing.withHeader(String name,
String value) |
Adds a stub http response header.
|
ResponseStubbing |
Stubbing.withHeader(String name,
String value) |
Adds a stub http response header.
|
ResponseStubbing |
ResponseStubbing.withStatus(int status) |
Sets the http stub response status.
|
ResponseStubbing |
Stubbing.withStatus(int status) |
Sets the http stub response status.
|