Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
Modifier and Type | Method and Description |
---|---|
MockRestServiceServer |
MockRestServiceServer.MockRestServiceServerBuilder.build()
Build the
MockRestServiceServer and set up the underlying
RestTemplate or AsyncRestTemplate with a
ClientHttpRequestFactory that creates mock requests. |
MockRestServiceServer |
MockRestServiceServer.MockRestServiceServerBuilder.build(RequestExpectationManager manager)
An overloaded build alternative that accepts a custom
RequestExpectationManager . |
static MockRestServiceServer |
MockRestServiceServer.createServer(AsyncRestTemplate asyncRestTemplate)
Deprecated.
see deprecation notice on
AsyncRestTemplate itself |
static MockRestServiceServer |
MockRestServiceServer.createServer(RestGatewaySupport restGateway)
A shortcut for
bindTo(restGateway).build() . |
static MockRestServiceServer |
MockRestServiceServer.createServer(RestTemplate restTemplate)
A shortcut for
bindTo(restTemplate).build() . |