Package | Description |
---|---|
org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet |
Auto-configuration for actuator Cloud Foundry concerns using Spring MVC.
|
org.springframework.boot.autoconfigure.web.client |
Auto-configuration for web clients.
|
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 |
Web client utilities.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryWebEndpointServletHandlerMapping |
CloudFoundryActuatorAutoConfiguration.cloudFoundryWebEndpointServletHandlerMapping(ParameterValueMapper parameterMapper,
EndpointMediaTypes endpointMediaTypes,
RestTemplateBuilder restTemplateBuilder,
ServletEndpointsSupplier servletEndpointsSupplier,
ControllerEndpointsSupplier controllerEndpointsSupplier,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
RestTemplateAutoConfiguration.restTemplateBuilder(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters,
org.springframework.beans.factory.ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers,
org.springframework.beans.factory.ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers) |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.client.RestTemplate |
WebClientRestTemplateAutoConfiguration.restTemplate(RestTemplateBuilder builder) |
Constructor and Description |
---|
TestRestTemplate(RestTemplateBuilder restTemplateBuilder)
Create a new
TestRestTemplate instance. |
TestRestTemplate(RestTemplateBuilder builder,
String username,
String password,
TestRestTemplate.HttpClientOption... httpClientOptions)
Create a new
TestRestTemplate instance with the specified credentials. |
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... customizers)
Add
RestTemplateCustomizers that should be applied
to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalInterceptors(org.springframework.http.client.ClientHttpRequestInterceptor... interceptors)
Add additional
ClientHttpRequestInterceptors
that should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalInterceptors(Collection<? extends org.springframework.http.client.ClientHttpRequestInterceptor> interceptors)
Add additional
ClientHttpRequestInterceptors
that should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalMessageConverters(Collection<? extends org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
Add additional
HttpMessageConverters that should be
used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalMessageConverters(org.springframework.http.converter.HttpMessageConverter<?>... messageConverters)
Add additional
HttpMessageConverters that should be
used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.additionalRequestCustomizers(Collection<? extends RestTemplateRequestCustomizer<?>> requestCustomizers)
Add the
RestTemplateRequestCustomizers that
should be applied to the ClientHttpRequest . |
RestTemplateBuilder |
RestTemplateBuilder.additionalRequestCustomizers(RestTemplateRequestCustomizer<?>... requestCustomizers)
Add the
RestTemplateRequestCustomizers that
should be applied to the ClientHttpRequest . |
RestTemplateBuilder |
RestTemplateBuilder.basicAuthentication(String username,
String password)
Add HTTP Basic Authentication to requests with the given username/password pair,
unless a custom Authorization header has been set before.
|
RestTemplateBuilder |
RestTemplateBuilder.basicAuthentication(String username,
String password,
Charset charset)
Add HTTP Basic Authentication to requests with the given username/password pair,
unless a custom Authorization header has been set before.
|
RestTemplateBuilder |
RestTemplateBuilder.customizers(Collection<? extends RestTemplateCustomizer> customizers)
Set the
RestTemplateCustomizers that should be
applied to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.customizers(RestTemplateCustomizer... customizers)
Set the
RestTemplateCustomizers that should be
applied to the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.defaultHeader(String name,
String value)
Add a default header that will be set if not already present on the outgoing
HttpClientRequest . |
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(org.springframework.web.client.ResponseErrorHandler errorHandler)
Set the
ResponseErrorHandler that should be used with the
RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.interceptors(org.springframework.http.client.ClientHttpRequestInterceptor... interceptors)
Set the
ClientHttpRequestInterceptors that
should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.interceptors(Collection<org.springframework.http.client.ClientHttpRequestInterceptor> interceptors)
Set the
ClientHttpRequestInterceptors that
should be used with the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.messageConverters(Collection<? extends org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
Set the
HttpMessageConverters that should be used with
the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.messageConverters(org.springframework.http.converter.HttpMessageConverter<?>... messageConverters)
Set the
HttpMessageConverters that should be used with
the RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.requestCustomizers(Collection<? extends RestTemplateRequestCustomizer<?>> requestCustomizers)
Set the
RestTemplateRequestCustomizers that
should be applied to the ClientHttpRequest . |
RestTemplateBuilder |
RestTemplateBuilder.requestCustomizers(RestTemplateRequestCustomizer<?>... requestCustomizers)
Set the
RestTemplateRequestCustomizers that
should be applied to the ClientHttpRequest . |
RestTemplateBuilder |
RestTemplateBuilder.requestFactory(Class<? extends org.springframework.http.client.ClientHttpRequestFactory> requestFactory)
Set the
ClientHttpRequestFactory class that should be used with the
RestTemplate . |
RestTemplateBuilder |
RestTemplateBuilder.requestFactory(Supplier<org.springframework.http.client.ClientHttpRequestFactory> requestFactory)
Set the
Supplier of ClientHttpRequestFactory that should be called
each time we build() a new RestTemplate instance. |
RestTemplateBuilder |
RestTemplateBuilder.rootUri(String rootUri)
Set a root URL that should be applied to each request that starts with
'/' . |
RestTemplateBuilder |
RestTemplateBuilder.setBufferRequestBody(boolean bufferRequestBody)
Sets if the underling
ClientHttpRequestFactory should buffer the
request body internally. |
RestTemplateBuilder |
RestTemplateBuilder.setConnectTimeout(Duration connectTimeout)
Sets the connection timeout on the underlying
ClientHttpRequestFactory . |
RestTemplateBuilder |
RestTemplateBuilder.setReadTimeout(Duration readTimeout)
Sets the read timeout on the underlying
ClientHttpRequestFactory . |
RestTemplateBuilder |
RestTemplateBuilder.uriTemplateHandler(org.springframework.web.util.UriTemplateHandler uriTemplateHandler)
Set the
UriTemplateHandler that should be used with the
RestTemplate . |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.