Index
All Classes and Interfaces|All Packages
B
- bindTo(RestTemplate) - Static method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
-
Return a bound
MockRestServiceServerfor the givenRestTemplate, configured withRootUriRequestExpectationManagerwhen possible. - bindTo(RestTemplate, RequestExpectationManager) - Static method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
-
Return a bound
MockRestServiceServerfor the givenRestTemplate, configured withRootUriRequestExpectationManagerwhen possible.
C
- createExpectationManager() - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- createExpectationManager() - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
- customize(RestClient.Builder) - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- customize(RestTemplate) - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
E
- expectRequest(ExpectedCount, RequestMatcher) - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
F
- forRestTemplate(RestTemplate, RequestExpectationManager) - Static method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
-
Return
RequestExpectationManagerto be used for binding with the specifiedRestTemplate.
G
- getExpectationManagers() - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- getExpectationManagers() - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
- getServer() - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- getServer() - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
- getServer(RestClient.Builder) - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- getServer(RestTemplate) - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
- getServers() - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- getServers() - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
M
- MockServerRestClientCustomizer - Class in org.springframework.boot.restclient.test
-
RestClientCustomizerthat can be applied toRestClient.Builderinstances to addMockRestServiceServersupport. - MockServerRestClientCustomizer() - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
- MockServerRestClientCustomizer(Class<? extends RequestExpectationManager>) - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
-
Create a new
MockServerRestClientCustomizerinstance. - MockServerRestClientCustomizer(Supplier<? extends RequestExpectationManager>) - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
-
Create a new
MockServerRestClientCustomizerinstance. - MockServerRestTemplateCustomizer - Class in org.springframework.boot.restclient.test
-
RestTemplateCustomizerthat can be applied to aRestTemplateBuilderinstances to addMockRestServiceServersupport. - MockServerRestTemplateCustomizer() - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
- MockServerRestTemplateCustomizer(Class<? extends RequestExpectationManager>) - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
-
Create a new
MockServerRestTemplateCustomizerinstance. - MockServerRestTemplateCustomizer(Supplier<? extends RequestExpectationManager>) - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
-
Create a new
MockServerRestTemplateCustomizerinstance.
O
- org.springframework.boot.restclient.test - package org.springframework.boot.restclient.test
-
RestClient and RestTemplate test utilities.
R
- reset() - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
- RootUriRequestExpectationManager - Class in org.springframework.boot.restclient.test
-
RequestExpectationManagerthat strips the specified root URI from the request before verification. - RootUriRequestExpectationManager(String, RequestExpectationManager) - Constructor for class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
S
- setBufferContent(boolean) - Method in class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
-
Set if the
BufferingClientHttpRequestFactorywrapper should be used to buffer the input and output streams, and for example, allow multiple reads of the response body. - setBufferContent(boolean) - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
-
Set if the
BufferingClientHttpRequestFactorywrapper should be used to buffer the input and output streams, and for example, allow multiple reads of the response body. - setDetectRootUri(boolean) - Method in class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
-
Set if root URIs from
RootUriRequestExpectationManagershould be detected and applied to theMockRestServiceServer.
V
- validateRequest(ClientHttpRequest) - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
- verify() - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
- verify(Duration) - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
All Classes and Interfaces|All Packages