- <init>
Creates a new mock response with an empty body.
- setBody
- setResponseCode
- addHeader
Adds a new header with the name and value. This may be used to add multiple
headers with the same na
- setStatus
- setHeader
Removes all headers named name, then adds a new header with the name and value.
- getBody
Returns a copy of the raw HTTP payload.
- getBodyDelay
- getHeaders
Returns the HTTP headers, such as "Content-Length: 0".
- getPushPromises
Returns the streams the server will push with this response.
- getSettings
- getSocketPolicy