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