public static interface MockRestServiceServer.MockRestServiceServerBuilder
MockRestServiceServer.| Modifier and Type | Method and Description | 
|---|---|
| MockRestServiceServer.MockRestServiceServerBuilder | bufferContent()Use the  BufferingClientHttpRequestFactorywrapper to buffer
 the input and output streams, and for example, allow multiple reads
 of the response body. | 
| MockRestServiceServer | build()Build the  MockRestServiceServerand set up the underlyingRestTemplateorAsyncRestTemplatewith aClientHttpRequestFactorythat creates mock requests. | 
| MockRestServiceServer | build(RequestExpectationManager manager)An overloaded build alternative that accepts a custom
  RequestExpectationManager. | 
| MockRestServiceServer.MockRestServiceServerBuilder | ignoreExpectOrder(boolean ignoreExpectOrder)Whether to allow expected requests to be executed in any order not
 necessarily matching the order of declaration. | 
MockRestServiceServer.MockRestServiceServerBuilder ignoreExpectOrder(boolean ignoreExpectOrder)
Effectively a shortcut for:
 builder.build(new UnorderedRequestExpectationManager).
 
By default this is set to false
ignoreExpectOrder - whether to ignore the order of expectationsMockRestServiceServer.MockRestServiceServerBuilder bufferContent()
BufferingClientHttpRequestFactory wrapper to buffer
 the input and output streams, and for example, allow multiple reads
 of the response body.MockRestServiceServer build()
MockRestServiceServer and set up the underlying
 RestTemplate or AsyncRestTemplate with a
 ClientHttpRequestFactory that creates mock requests.MockRestServiceServer build(RequestExpectationManager manager)
RequestExpectationManager.