Index
All Classes and Interfaces|All Packages
A
- AutoConfigureMockRestServiceServer - Annotation Interface in org.springframework.boot.restclient.test.autoconfigure
-
Annotation that can be applied to a test class to enable and configure auto-configuration of a single
MockRestServiceServer. - AutoConfigureRestClient - Annotation Interface in org.springframework.boot.restclient.test.autoconfigure
-
Annotation that can be applied to a test class to enable auto-configuration of a
RestClient.Builderand aRestTemplateBuilder.
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
- components() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
Specifies the components to test.
- 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
- enabled() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.AutoConfigureMockRestServiceServer
-
If
MockServerRestTemplateCustomizerandMockServerRestClientCustomizershould be enabled andMockRestServiceServerbeans should be registered. - excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeFilters() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- 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
I
- includeFilters() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
M
- MockRestServiceServerAutoConfiguration - Class in org.springframework.boot.restclient.test.autoconfigure
-
Auto-configuration for
MockRestServiceServersupport. - MockRestServiceServerAutoConfiguration() - Constructor for class org.springframework.boot.restclient.test.autoconfigure.MockRestServiceServerAutoConfiguration
- 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) - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
-
Create a new
MockServerRestClientCustomizerinstance. - MockServerRestClientCustomizer(Supplier) - 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) - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
-
Create a new
MockServerRestTemplateCustomizerinstance. - MockServerRestTemplateCustomizer(Supplier) - 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.
- org.springframework.boot.restclient.test.autoconfigure - package org.springframework.boot.restclient.test.autoconfigure
-
Auto-configuration for web clients.
P
- properties() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
Properties in form key=value that should be added to the Spring
Environmentbefore the test runs.
R
- reset() - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
- RestClientTest - Annotation Interface in org.springframework.boot.restclient.test.autoconfigure
-
Annotation for a Spring rest client test that focuses only on beans that use
RestTemplateBuilderorRestClient.Builder. - 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.
U
- useDefaultFilters() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
Determines if default filtering should be used with
@SpringBootApplication.
V
- validateRequest(ClientHttpRequest) - Method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
- value() - Element in annotation interface org.springframework.boot.restclient.test.autoconfigure.RestClientTest
-
Specifies the components to test.
- 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