Uses of Interface
org.springframework.http.client.ClientHttpRequestInterceptor
Package
Description
Contains an abstraction over client-side HTTP.
This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
Core package of the client-side web support.
-
Uses of ClientHttpRequestInterceptor in org.springframework.http.client
ModifierConstructorDescriptionInterceptingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory, List<ClientHttpRequestInterceptor> interceptors) Create a new instance of theInterceptingClientHttpRequestFactory
with the given parameters. -
Uses of ClientHttpRequestInterceptor in org.springframework.http.client.support
Modifier and TypeClassDescriptionclass
ClientHttpRequestInterceptor
to apply a given HTTP Basic Authentication username/password pair, unless a customAuthorization
header has already been set.Modifier and TypeMethodDescriptionInterceptingHttpAccessor.getInterceptors()
Get the request interceptors that this accessor uses.Modifier and TypeMethodDescriptionvoid
InterceptingHttpAccessor.setInterceptors
(List<ClientHttpRequestInterceptor> interceptors) Set the request interceptors that this accessor should use. -
Uses of ClientHttpRequestInterceptor in org.springframework.web.client
Modifier and TypeMethodDescriptionRestClient.Builder.requestInterceptor
(ClientHttpRequestInterceptor interceptor) Add the given request interceptor to the end of the interceptor chain.Modifier and TypeMethodDescriptionRestClient.Builder.requestInterceptors
(Consumer<List<ClientHttpRequestInterceptor>> interceptorsConsumer) Manipulate the interceptors with the given consumer.