Index
All Classes and Interfaces|All Packages
A
- AutoConfigureRestTestClient - Annotation Interface in org.springframework.boot.resttestclient.autoconfigure
-
Annotation that can be applied to a test class to enable a
RestTestClient. - AutoConfigureTestRestTemplate - Annotation Interface in org.springframework.boot.resttestclient.autoconfigure
-
Annotation that can be applied to a test class to enable auto-configuration of a
TestRestTemplate.
C
- customize(RestTestClient.Builder) - Method in interface org.springframework.boot.resttestclient.autoconfigure.RestTestClientBuilderCustomizer
-
Customize the given
RestTestClient.Builder. - customize(RestTestClient.Builder) - Method in class org.springframework.boot.resttestclient.autoconfigure.SpringBootRestTestClientBuilderCustomizer
D
- delete(String, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Delete the resources at the specified URI.
- delete(String, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Delete the resources at the specified URI.
- delete(URI) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Delete the resources at the specified URL.
E
- ENABLE_COOKIES - Enum constant in enum class org.springframework.boot.resttestclient.TestRestTemplate.HttpClientOption
-
Enable cookies.
- exchange(String, HttpMethod, HttpEntity, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity, ParameterizedTypeReference, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity, ParameterizedTypeReference, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(URI, HttpMethod, HttpEntity, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(URI, HttpMethod, HttpEntity, ParameterizedTypeReference) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(RequestEntity, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the request specified in the given
RequestEntityand return the response asResponseEntity. - exchange(RequestEntity, ParameterizedTypeReference) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the request specified in the given
RequestEntityand return the response asResponseEntity. - execute(String, HttpMethod, RequestCallback, ResponseExtractor, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor. - execute(String, HttpMethod, RequestCallback, ResponseExtractor, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor. - execute(URI, HttpMethod, RequestCallback, ResponseExtractor) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Execute the HTTP method to the given URL, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor.
G
- getForEntity(String, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve an entity by doing a GET on the specified URL.
- getForEntity(String, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve a representation by doing a GET on the URI template.
- getForEntity(URI, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve a representation by doing a GET on the URL .
- getForObject(String, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve a representation by doing a GET on the specified URL.
- getForObject(String, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve a representation by doing a GET on the URI template.
- getForObject(URI, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve a representation by doing a GET on the URL .
- getRestTemplate() - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Returns the underlying
RestTemplatethat is actually used to perform the REST operations. - getRootUri() - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Returns the root URI applied by
RestTemplateBuilder.rootUri(String)or""if the root URI has not been applied.
H
- headForHeaders(String, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve all headers of the resource specified by the URI template.
- headForHeaders(String, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve all headers of the resource specified by the URI template.
- headForHeaders(URI) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Retrieve all headers of the resource specified by the URL.
O
- optionsForAllow(String, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Return the value of the
Allowheader for the given URI. - optionsForAllow(String, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Return the value of the
Allowheader for the given URI. - optionsForAllow(URI) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Return the value of the
Allowheader for the given URL. - org.springframework.boot.resttestclient - package org.springframework.boot.resttestclient
-
Test support classes that use
RestClientandRestTemplate. - org.springframework.boot.resttestclient.autoconfigure - package org.springframework.boot.resttestclient.autoconfigure
-
Auto-configuration for RestTestClient and TestRestTemplate.
P
- patchForObject(String, Object, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Update a resource by PATCHing the given object to the URI template, and returns the representation found in the response.
- patchForObject(String, Object, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Update a resource by PATCHing the given object to the URI template, and returns the representation found in the response.
- patchForObject(URI, Object, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Update a resource by PATCHing the given object to the URL, and returns the representation found in the response.
- postForEntity(String, Object, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the response as
ResponseEntity. - postForEntity(String, Object, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the response as
HttpEntity. - postForEntity(URI, Object, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the response as
ResponseEntity. - postForLocation(String, Object, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the value of the
Locationheader. - postForLocation(String, Object, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the value of the
Locationheader. - postForLocation(URI, Object) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the value of the
Locationheader. - postForObject(String, Object, Class, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
- postForObject(String, Object, Class, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
- postForObject(URI, Object, Class) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the representation found in the response.
- put(String, Object, Object...) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Create or update a resource by PUTting the given object to the URI.
- put(String, Object, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new resource by PUTting the given object to URI template.
- put(URI, Object) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new resource by PUTting the given object to URL.
R
- RestTestClientAutoConfiguration - Class in org.springframework.boot.resttestclient.autoconfigure
-
Auto-configuration for
RestTestClient. - RestTestClientAutoConfiguration() - Constructor for class org.springframework.boot.resttestclient.autoconfigure.RestTestClientAutoConfiguration
- RestTestClientBuilderCustomizer - Interface in org.springframework.boot.resttestclient.autoconfigure
-
A customizer that can be implemented by beans wishing to customize the
RestTestClient.Builderto fine-tune its auto-configuration before aRestTestClientis created.
S
- setUriTemplateHandler(UriTemplateHandler) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Configure the
UriTemplateHandlerto use to expand URI templates. - SpringBootRestTestClientBuilderCustomizer - Class in org.springframework.boot.resttestclient.autoconfigure
-
RestTestClientBuilderCustomizerfor a typical Spring Boot application. - SpringBootRestTestClientBuilderCustomizer(Collection) - Constructor for class org.springframework.boot.resttestclient.autoconfigure.SpringBootRestTestClientBuilderCustomizer
-
Create a new
SpringBootRestTestClientBuilderCustomizerthat will configure the builder's message converters using the givenmessageConverterCustomizers. - SSL - Enum constant in enum class org.springframework.boot.resttestclient.TestRestTemplate.HttpClientOption
-
Use a
TlsSocketStrategythat trusts self-signed certificates.
T
- TestRestTemplate - Class in org.springframework.boot.resttestclient
-
Convenient alternative of
RestTemplatethat is suitable for integration tests. - TestRestTemplate(String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new
TestRestTemplateinstance with the specified credentials. - TestRestTemplate(RestTemplateBuilder) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new
TestRestTemplateinstance. - TestRestTemplate(RestTemplateBuilder, String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new
TestRestTemplateinstance with the specified credentials. - TestRestTemplate(TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
-
Create a new
TestRestTemplateinstance. - TestRestTemplate.HttpClientOption - Enum Class in org.springframework.boot.resttestclient
-
Options used to customize the Apache HTTP Client.
- TestRestTemplateAutoConfiguration - Class in org.springframework.boot.resttestclient.autoconfigure
-
Auto-configuration for
TestRestTemplate. - TestRestTemplateAutoConfiguration() - Constructor for class org.springframework.boot.resttestclient.autoconfigure.TestRestTemplateAutoConfiguration
V
- valueOf(String) - Static method in enum class org.springframework.boot.resttestclient.TestRestTemplate.HttpClientOption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.boot.resttestclient.TestRestTemplate.HttpClientOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withBasicAuth(String, String) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new
TestRestTemplatewith the same configuration as this one, except that it will send basic authorization headers using the givenusernameandpassword. - withClientSettings(UnaryOperator) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new
TestRestTemplatewith the same configuration as this one, except that it will customize theHttpClientSettings. - withClientSettings(HttpClientSettings) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new
TestRestTemplatewith the same configuration as this one, except that it will apply the givenHttpClientSettings. - withRedirects(HttpRedirects) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
-
Creates a new
TestRestTemplatewith the same configuration as this one, except that it will apply the givenHttpRedirects.
All Classes and Interfaces|All Packages