Uses of Interface
org.springframework.http.client.ClientHttpRequestInterceptor
Packages that use 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
Constructor parameters in org.springframework.http.client with type arguments of type ClientHttpRequestInterceptorModifierConstructorDescriptionInterceptingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory, List<ClientHttpRequestInterceptor> interceptors) Create a new instance of theInterceptingClientHttpRequestFactory
with the given parameters. -
Uses of ClientHttpRequestInterceptor in org.springframework.http.client.support
Classes in org.springframework.http.client.support that implement ClientHttpRequestInterceptorModifier and TypeClassDescriptionclass
ClientHttpRequestInterceptor
to apply a given HTTP Basic Authentication username/password pair, unless a customAuthorization
header has already been set.Methods in org.springframework.http.client.support that return types with arguments of type ClientHttpRequestInterceptorModifier and TypeMethodDescriptionInterceptingHttpAccessor.getInterceptors()
Get the request interceptors that this accessor uses.Method parameters in org.springframework.http.client.support with type arguments of type ClientHttpRequestInterceptorModifier and TypeMethodDescriptionvoid
InterceptingHttpAccessor.setInterceptors
(List<ClientHttpRequestInterceptor> interceptors) Set the request interceptors that this accessor should use. -
Uses of ClientHttpRequestInterceptor in org.springframework.web.client
Methods in org.springframework.web.client with parameters of type ClientHttpRequestInterceptorModifier and TypeMethodDescriptionRestClient.Builder.requestInterceptor
(ClientHttpRequestInterceptor interceptor) Add the given request interceptor to the end of the interceptor chain.Method parameters in org.springframework.web.client with type arguments of type ClientHttpRequestInterceptorModifier and TypeMethodDescriptionRestClient.Builder.requestInterceptors
(Consumer<List<ClientHttpRequestInterceptor>> interceptorsConsumer) Manipulate the interceptors with the given consumer.