Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
Modifier and Type | Method and Description |
---|---|
static MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.bindTo(AsyncRestTemplate asyncRestTemplate)
Deprecated.
see deprecation notice on
AsyncRestTemplate itself |
static MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.bindTo(RestGatewaySupport restGateway)
Return a builder for a
MockRestServiceServer that should be used
to reply to the given RestGatewaySupport . |
static MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.bindTo(RestTemplate restTemplate)
Return a builder for a
MockRestServiceServer that should be used
to reply to the given RestTemplate . |
MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.MockRestServiceServerBuilder.bufferContent()
Use the
BufferingClientHttpRequestFactory wrapper to buffer
the input and output streams, and for example, allow multiple reads
of the response body. |
MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.MockRestServiceServerBuilder.ignoreExpectOrder(boolean ignoreExpectOrder)
Whether to allow expected requests to be executed in any order not
necessarily matching the order of declaration.
|