Example usage for Java org.springframework.mock.http.client MockClientHttpRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
MockClientHttpRequest() Default constructor. | |
MockClientHttpRequest(HttpMethod httpMethod, URI uri) Create an instance with the given HttpMethod and URI. |
String | getBodyAsString() Return the body content interpreted as a UTF-8 string. |
HttpHeaders | getHeaders() Return the headers. |
HttpMethod | getMethod() |
URI | getURI() |
void | setMethod(HttpMethod httpMethod) |
void | setResponse(ClientHttpResponse clientHttpResponse) |
void | setURI(URI uri) |