Index

A B C E F G I M O P R S U V 
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.Builder and a RestTemplateBuilder.

B

bindTo(RestTemplate) - Static method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
Return a bound MockRestServiceServer for the given RestTemplate, configured with RootUriRequestExpectationManager when possible.
bindTo(RestTemplate, RequestExpectationManager) - Static method in class org.springframework.boot.restclient.test.RootUriRequestExpectationManager
Return a bound MockRestServiceServer for the given RestTemplate, configured with RootUriRequestExpectationManager when 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 MockServerRestTemplateCustomizer and MockServerRestClientCustomizer should be enabled and MockRestServiceServer beans 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 RequestExpectationManager to be used for binding with the specified RestTemplate.

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 MockRestServiceServer support.
MockRestServiceServerAutoConfiguration() - Constructor for class org.springframework.boot.restclient.test.autoconfigure.MockRestServiceServerAutoConfiguration
 
MockServerRestClientCustomizer - Class in org.springframework.boot.restclient.test
RestClientCustomizer that can be applied to RestClient.Builder instances to add MockRestServiceServer support.
MockServerRestClientCustomizer() - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
 
MockServerRestClientCustomizer(Class) - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
Create a new MockServerRestClientCustomizer instance.
MockServerRestClientCustomizer(Supplier) - Constructor for class org.springframework.boot.restclient.test.MockServerRestClientCustomizer
Create a new MockServerRestClientCustomizer instance.
MockServerRestTemplateCustomizer - Class in org.springframework.boot.restclient.test
RestTemplateCustomizer that can be applied to a RestTemplateBuilder instances to add MockRestServiceServer support.
MockServerRestTemplateCustomizer() - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
 
MockServerRestTemplateCustomizer(Class) - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
Create a new MockServerRestTemplateCustomizer instance.
MockServerRestTemplateCustomizer(Supplier) - Constructor for class org.springframework.boot.restclient.test.MockServerRestTemplateCustomizer
Create a new MockServerRestTemplateCustomizer instance.

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 Environment before 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 RestTemplateBuilder or RestClient.Builder.
RootUriRequestExpectationManager - Class in org.springframework.boot.restclient.test
RequestExpectationManager that 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 BufferingClientHttpRequestFactory wrapper 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 BufferingClientHttpRequestFactory wrapper 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 RootUriRequestExpectationManager should be detected and applied to the MockRestServiceServer.

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
 
A B C E F G I M O P R S U V 
All Classes and Interfaces|All Packages