Index

A C D E G H O P R S T V W 
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 RequestEntity and return the response as ResponseEntity.
exchange(RequestEntity, ParameterizedTypeReference) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Execute the request specified in the given RequestEntity and return the response as ResponseEntity.
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 a ResponseExtractor.
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 a ResponseExtractor.
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 a ResponseExtractor.

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 RestTemplate that 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 Allow header for the given URI.
optionsForAllow(String, Map) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Return the value of the Allow header for the given URI.
optionsForAllow(URI) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Return the value of the Allow header for the given URL.
org.springframework.boot.resttestclient - package org.springframework.boot.resttestclient
Test support classes that use RestClient and RestTemplate.
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 Location header.
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 Location header.
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 Location header.
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.Builder to fine-tune its auto-configuration before a RestTestClient is created.

S

setUriTemplateHandler(UriTemplateHandler) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Configure the UriTemplateHandler to use to expand URI templates.
SpringBootRestTestClientBuilderCustomizer - Class in org.springframework.boot.resttestclient.autoconfigure
RestTestClientBuilderCustomizer for a typical Spring Boot application.
SpringBootRestTestClientBuilderCustomizer(Collection) - Constructor for class org.springframework.boot.resttestclient.autoconfigure.SpringBootRestTestClientBuilderCustomizer
Create a new SpringBootRestTestClientBuilderCustomizer that will configure the builder's message converters using the given messageConverterCustomizers.
SSL - Enum constant in enum class org.springframework.boot.resttestclient.TestRestTemplate.HttpClientOption
Use a TlsSocketStrategy that trusts self-signed certificates.

T

TestRestTemplate - Class in org.springframework.boot.resttestclient
Convenient alternative of RestTemplate that is suitable for integration tests.
TestRestTemplate(String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
Create a new TestRestTemplate instance with the specified credentials.
TestRestTemplate(RestTemplateBuilder) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
Create a new TestRestTemplate instance.
TestRestTemplate(RestTemplateBuilder, String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
Create a new TestRestTemplate instance with the specified credentials.
TestRestTemplate(TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.resttestclient.TestRestTemplate
Create a new TestRestTemplate instance.
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 TestRestTemplate with the same configuration as this one, except that it will send basic authorization headers using the given username and password.
withClientSettings(UnaryOperator) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will customize the HttpClientSettings.
withClientSettings(HttpClientSettings) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will apply the given HttpClientSettings.
withRedirects(HttpRedirects) - Method in class org.springframework.boot.resttestclient.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will apply the given HttpRedirects.
A C D E G H O P R S T V W 
All Classes and Interfaces|All Packages