@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 java.io.IOException
request
- the requestjava.io.IOException