public interface ResponseCreator
ClientHttpResponse
.
Implementations can be obtained via MockRestResponseCreators
.Modifier and Type | Method and Description |
---|---|
org.springframework.http.client.ClientHttpResponse |
createResponse(org.springframework.http.client.ClientHttpRequest request)
Create a response for the given request.
|
org.springframework.http.client.ClientHttpResponse createResponse(org.springframework.http.client.ClientHttpRequest request) throws IOException
request
- the requestIOException