# Uses of Class
org.springframework.test.web.client.MockRestServiceServer

Packages that use MockRestServiceServer
Package
Description
org.springframework.test.web.client
Contains client-side REST testing support.

## Uses of MockRestServiceServer in org.springframework.test.web.client

Methods in org.springframework.test.web.client that return MockRestServiceServer
Modifier and Type
Method
Description
`MockRestServiceServer`
MockRestServiceServer.MockRestServiceServerBuilder.`build()`
Build the `MockRestServiceServer` and set up the underlying `RestTemplate` 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(org.springframework.web.client.RestTemplate restTemplate)`
A shortcut for `bindTo(restTemplate).build()`.
`static MockRestServiceServer`
MockRestServiceServer.`createServer(org.springframework.web.client.support.RestGatewaySupport restGateway)`
A shortcut for `bindTo(restGateway).build()`.