接口的使用
cn.taketoday.test.web.client.MockRestServiceServer.MockRestServiceServerBuilder
-
cn.taketoday.test.web.client中MockRestServiceServer.MockRestServiceServerBuilder的使用
修饰符和类型类说明private static classprivate static classprivate static class修饰符和类型方法说明MockRestServiceServer.bindTo(cn.taketoday.web.client.RestClient.Builder restClientBuilder) Return a builder for aMockRestServiceServerthat should be used to reply to the givenRestTemplate.MockRestServiceServer.bindTo(cn.taketoday.web.client.RestTemplate restTemplate) Return a builder for aMockRestServiceServerthat should be used to reply to the givenRestTemplate.MockRestServiceServer.bindTo(cn.taketoday.web.client.support.RestGatewaySupport restGatewaySupport) Return a builder for aMockRestServiceServerthat should be used to reply to the givenRestGatewaySupport.MockRestServiceServer.AbstractMockRestServiceServerBuilder.bufferContent()MockRestServiceServer.MockRestServiceServerBuilder.bufferContent()Use theBufferingClientHttpRequestFactorywrapper to buffer the input and output streams, and for example, allow multiple reads of the response body.MockRestServiceServer.AbstractMockRestServiceServerBuilder.ignoreExpectOrder(boolean ignoreExpectOrder) MockRestServiceServer.MockRestServiceServerBuilder.ignoreExpectOrder(boolean ignoreExpectOrder) Whether to allow expected requests to be executed in any order not necessarily matching the order of declaration.