Package | Description |
---|---|
org.springframework.boot.actuate.cloudfoundry | |
org.springframework.boot.autoconfigure.web |
Auto-configuration for embedded servlet containers and Spring MVC.
|
org.springframework.boot.test.autoconfigure.web.client |
Auto-configuration for web clients.
|
org.springframework.boot.test.web.client |
Web client test utilities.
|
org.springframework.boot.web.client |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.cloudfoundry.CloudFoundryEndpointHandlerMapping |
CloudFoundryActuatorAutoConfiguration.cloudFoundryEndpointHandlerMapping(MvcEndpoints mvcEndpoints,
RestTemplateBuilder restTemplateBuilder,
Environment environment) |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
WebClientAutoConfiguration.RestTemplateConfiguration.restTemplateBuilder() |
Modifier and Type | Method and Description |
---|---|
RestTemplate |
WebClientRestTemplateAutoConfiguration.restTemplate(RestTemplateBuilder builder) |
Constructor and Description |
---|
TestRestTemplate(RestTemplateBuilder restTemplateBuilder)
Create a new
TestRestTemplate instance. |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
RestTemplateBuilder.additionalCustomizers(Collection<? extends RestTemplateCustomizer> customizers)
Add
RestTemplateCustomizers that should be applied
to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalCustomizers(RestTemplateCustomizer... restTemplateCustomizers)
Add
RestTemplateCustomizers that should be applied
to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalInterceptors(ClientHttpRequestInterceptor... interceptors)
Add additional
ClientHttpRequestInterceptors
that should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalInterceptors(Collection<? extends ClientHttpRequestInterceptor> interceptors)
Add additional
ClientHttpRequestInterceptors
that should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalMessageConverters(Collection<? extends HttpMessageConverter<?>> messageConverters)
Add additional
HttpMessageConverters that should be
used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalMessageConverters(HttpMessageConverter<?>... messageConverters)
Add additional
HttpMessageConverters that should be
used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.basicAuthorization(String username,
String password)
Add HTTP basic authentication to requests.
|
RestTemplateBuilder |
RestTemplateBuilder.customizers(Collection<? extends RestTemplateCustomizer> restTemplateCustomizers)
Set the
RestTemplateCustomizers that should be
applied to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.customizers(RestTemplateCustomizer... restTemplateCustomizers)
Set the
RestTemplateCustomizers that should be
applied to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.defaultMessageConverters()
Set the
HttpMessageConverters that should be used with
the RestTemplate to the default set. |
RestTemplateBuilder |
RestTemplateBuilder.detectRequestFactory(boolean detectRequestFactory)
Set if the
ClientHttpRequestFactory should be detected based on the
classpath. |
RestTemplateBuilder |
RestTemplateBuilder.errorHandler(ResponseErrorHandler errorHandler)
Set the
ResponseErrorHandler that should be used with the
RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.interceptors(ClientHttpRequestInterceptor... interceptors)
Set the
ClientHttpRequestInterceptors that
should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.interceptors(Collection<ClientHttpRequestInterceptor> interceptors)
Set the
ClientHttpRequestInterceptors that
should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.messageConverters(Collection<? extends HttpMessageConverter<?>> messageConverters)
Set the
HttpMessageConverters that should be used with
the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.messageConverters(HttpMessageConverter<?>... messageConverters)
Set the
HttpMessageConverters that should be used with
the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.requestFactory(Class<? extends ClientHttpRequestFactory> requestFactory)
Set the
ClientHttpRequestFactory class that should be used with the
RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.requestFactory(ClientHttpRequestFactory requestFactory)
Set the
ClientHttpRequestFactory that should be used with the
RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.rootUri(String rootUri)
Set a root URL that should be applied to each request that starts with
'/' . |
RestTemplateBuilder |
RestTemplateBuilder.setConnectTimeout(int connectTimeout)
Sets the connect timeout in milliseconds on the underlying
ClientHttpRequestFactory . |
RestTemplateBuilder |
RestTemplateBuilder.setReadTimeout(int readTimeout)
Sets the read timeout in milliseconds on the underlying
ClientHttpRequestFactory . |
RestTemplateBuilder |
RestTemplateBuilder.uriTemplateHandler(UriTemplateHandler uriTemplateHandler)
Set the
UriTemplateHandler that should be used with the
RestTemplate . |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.