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
Methods in org.springframework.http.client that return ClientHttpRequestInterceptorModifier and TypeMethodDescriptiondefault ClientHttpRequestInterceptor
ClientHttpRequestInterceptor.andThen
(ClientHttpRequestInterceptor interceptor) Return a new interceptor that invokesthis
interceptor first, and then the one that's passed in.Methods in org.springframework.http.client with parameters of type ClientHttpRequestInterceptorModifier and TypeMethodDescriptiondefault ClientHttpRequestInterceptor
ClientHttpRequestInterceptor.andThen
(ClientHttpRequestInterceptor interceptor) Return a new interceptor that invokesthis
interceptor first, and then the one that's passed in.Constructor parameters in org.springframework.http.client with type arguments of type ClientHttpRequestInterceptorModifierConstructorDescriptionInterceptingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory, @Nullable List<ClientHttpRequestInterceptor> interceptors) Create a new instance with the given parameters.InterceptingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory, @Nullable List<ClientHttpRequestInterceptor> interceptors, @Nullable BiPredicate<URI, HttpMethod> bufferingPredicate) Constructor variant with an additional predicate to decide whether to buffer the response. -
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.