Index

C D E G H L O P S T V W 
All Classes and Interfaces|All Packages|Serialized Form

C

customize(WebTestClient.Builder) - Method in interface org.springframework.boot.web.server.test.client.reactive.WebTestClientBuilderCustomizer
Customize the given builder.

D

delete(String, Object...) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Delete the resources at the specified URI.
delete(String, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Delete the resources at the specified URI.
delete(URI) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Delete the resources at the specified URL.

E

ENABLE_COOKIES - Enum constant in enum class org.springframework.boot.web.server.test.client.TestRestTemplate.HttpClientOption
Enable cookies.
exchange(String, HttpMethod, HttpEntity<?>, Class<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.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<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.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<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Execute the request specified in the given RequestEntity and return the response as ResponseEntity.
exchange(RequestEntity<?>, ParameterizedTypeReference<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Execute the request specified in the given RequestEntity and return the response as ResponseEntity.
execute(String, HttpMethod, RequestCallback, ResponseExtractor<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.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<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Execute the HTTP method to the given URL, preparing the request with the RequestCallback, and reading the response with a ResponseExtractor.

G

get(String) - Method in class org.springframework.boot.web.server.test.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
 
getForEntity(String, Class<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve an entity by doing a GET on the specified URL.
getForEntity(String, Class<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve a representation by doing a GET on the URI template.
getForEntity(URI, Class<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve a representation by doing a GET on the URL .
getForObject(String, Class<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve a representation by doing a GET on the specified URL.
getForObject(String, Class<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve a representation by doing a GET on the URI template.
getForObject(URI, Class<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve a representation by doing a GET on the URL .
getPage(String) - Method in class org.springframework.boot.web.server.test.htmlunit.LocalHostWebClient
 
getRestTemplate() - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Returns the underlying RestTemplate that is actually used to perform the REST operations.
getRootUri() - Method in class org.springframework.boot.web.server.test.client.LocalHostUriTemplateHandler
 
getRootUri() - Method in class org.springframework.boot.web.server.test.client.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.web.server.test.client.TestRestTemplate
Retrieve all headers of the resource specified by the URI template.
headForHeaders(String, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve all headers of the resource specified by the URI template.
headForHeaders(URI) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Retrieve all headers of the resource specified by the URL.

L

LocalHostUriTemplateHandler - Class in org.springframework.boot.web.server.test.client
UriTemplateHandler will automatically prefix relative URIs with localhost:${local.server.port}.
LocalHostUriTemplateHandler(Environment) - Constructor for class org.springframework.boot.web.server.test.client.LocalHostUriTemplateHandler
Create a new LocalHostUriTemplateHandler that will generate http URIs using the given environment to determine the context path and port.
LocalHostUriTemplateHandler(Environment, String) - Constructor for class org.springframework.boot.web.server.test.client.LocalHostUriTemplateHandler
Create a new LocalHostUriTemplateHandler that will generate URIs with the given scheme and use the given environment to determine the context-path and port.
LocalHostUriTemplateHandler(Environment, String, UriTemplateHandler) - Constructor for class org.springframework.boot.web.server.test.client.LocalHostUriTemplateHandler
Create a new LocalHostUriTemplateHandler that will generate URIs with the given scheme, use the given environment to determine the context-path and port and delegate to the given template handler.
LocalHostWebClient - Class in org.springframework.boot.web.server.test.htmlunit
WebClient will automatically prefix relative URLs with localhost:${local.server.port}.
LocalHostWebClient(Environment) - Constructor for class org.springframework.boot.web.server.test.htmlunit.LocalHostWebClient
 
LocalHostWebConnectionHtmlUnitDriver - Class in org.springframework.boot.web.server.test.htmlunit.webdriver
LocalHostWebConnectionHtmlUnitDriver will automatically prefix relative URLs with localhost:${local.server.port}.
LocalHostWebConnectionHtmlUnitDriver(Environment) - Constructor for class org.springframework.boot.web.server.test.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
 
LocalHostWebConnectionHtmlUnitDriver(Environment, boolean) - Constructor for class org.springframework.boot.web.server.test.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
 
LocalHostWebConnectionHtmlUnitDriver(Environment, BrowserVersion) - Constructor for class org.springframework.boot.web.server.test.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
 
LocalHostWebConnectionHtmlUnitDriver(Environment, Capabilities) - Constructor for class org.springframework.boot.web.server.test.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
 
LocalManagementPort - Annotation Interface in org.springframework.boot.web.server.test
Annotation at the field or method/constructor parameter level that injects the HTTP management port that was allocated at runtime.
LocalServerPort - Annotation Interface in org.springframework.boot.web.server.test
Annotation at the field or method/constructor parameter level that injects the HTTP server port that was allocated at runtime.

O

optionsForAllow(String, Object...) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Return the value of the Allow header for the given URI.
optionsForAllow(String, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Return the value of the Allow header for the given URI.
optionsForAllow(URI) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Return the value of the Allow header for the given URL.
org.springframework.boot.web.server.test - package org.springframework.boot.web.server.test
Web server test utilities and support classes.
org.springframework.boot.web.server.test.client - package org.springframework.boot.web.server.test.client
Client-side support for testing embedded web servers.
org.springframework.boot.web.server.test.client.reactive - package org.springframework.boot.web.server.test.client.reactive
Spring Boot support for testing Spring WebFlux server endpoints via WebTestClient.
org.springframework.boot.web.server.test.htmlunit - package org.springframework.boot.web.server.test.htmlunit
HtmlUnit support classes.
org.springframework.boot.web.server.test.htmlunit.webdriver - package org.springframework.boot.web.server.test.htmlunit.webdriver
Selenium support classes.

P

patchForObject(String, Object, Class<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.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<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Update a resource by PATCHing the given object to the URL, and returns the representation found in the response.
postForEntity(String, Object, Class<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new resource by POSTing the given object to the URI template, and returns the response as ResponseEntity.
postForEntity(String, Object, Class<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new resource by POSTing the given object to the URI template, and returns the response as HttpEntity.
postForEntity(URI, Object, Class<T>) - Method in class org.springframework.boot.web.server.test.client.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.web.server.test.client.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<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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.web.server.test.client.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<T>, Object...) - Method in class org.springframework.boot.web.server.test.client.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<T>, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.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<T>) - Method in class org.springframework.boot.web.server.test.client.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.web.server.test.client.TestRestTemplate
Create or update a resource by PUTting the given object to the URI.
put(String, Object, Map<String, ?>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Creates a new resource by PUTting the given object to URI template.
put(URI, Object) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Creates a new resource by PUTting the given object to URL.

S

setUriTemplateHandler(UriTemplateHandler) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Configure the UriTemplateHandler to use to expand URI templates.
SSL - Enum constant in enum class org.springframework.boot.web.server.test.client.TestRestTemplate.HttpClientOption
Use a TlsSocketStrategy that trusts self-signed certificates.

T

TestRestTemplate - Class in org.springframework.boot.web.server.test.client
Convenient alternative of RestTemplate that is suitable for integration tests.
TestRestTemplate(String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new TestRestTemplate instance with the specified credentials.
TestRestTemplate(RestTemplateBuilder) - Constructor for class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new TestRestTemplate instance.
TestRestTemplate(RestTemplateBuilder, String, String, TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new TestRestTemplate instance with the specified credentials.
TestRestTemplate(TestRestTemplate.HttpClientOption...) - Constructor for class org.springframework.boot.web.server.test.client.TestRestTemplate
Create a new TestRestTemplate instance.
TestRestTemplate.HttpClientOption - Enum Class in org.springframework.boot.web.server.test.client
Options used to customize the Apache HTTP Client.

V

valueOf(String) - Static method in enum class org.springframework.boot.web.server.test.client.TestRestTemplate.HttpClientOption
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.boot.web.server.test.client.TestRestTemplate.HttpClientOption
Returns an array containing the constants of this enum class, in the order they are declared.

W

WebTestClientBuilderCustomizer - Interface in org.springframework.boot.web.server.test.client.reactive
A customizer for a WebTestClient.Builder.
withBasicAuth(String, String) - Method in class org.springframework.boot.web.server.test.client.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.
withRedirects(HttpRedirects) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will apply the given HttpRedirects.
withRequestFactorySettings(UnaryOperator<ClientHttpRequestFactorySettings>) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will customize the ClientHttpRequestFactorySettings.
withRequestFactorySettings(ClientHttpRequestFactorySettings) - Method in class org.springframework.boot.web.server.test.client.TestRestTemplate
Creates a new TestRestTemplate with the same configuration as this one, except that it will apply the given ClientHttpRequestFactorySettings.
C D E G H L O P S T V W 
All Classes and Interfaces|All Packages|Serialized Form