Uses of Interface
org.springframework.http.client.ClientHttpRequestInterceptor
Packages that use ClientHttpRequestInterceptor Package Description org.springframework.http.client Contains an abstraction over client-side HTTP.org.springframework.http.client.support This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.Uses of ClientHttpRequestInterceptor in org.springframework.http.client
Constructor parameters in org.springframework.http.client with type arguments of type ClientHttpRequestInterceptor Constructor Description InterceptingClientHttpRequestFactory(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 ClientHttpRequestInterceptor Modifier and Type Class Description class
BasicAuthenticationInterceptor
ClientHttpRequestInterceptor
to apply a given HTTP Basic Authentication username/password pair, unless a customAuthorization
header has already been set.class
BasicAuthorizationInterceptor
Deprecated.as of 5.1.1, in favor ofBasicAuthenticationInterceptor
which reusesHttpHeaders.setBasicAuth(java.lang.String, java.lang.String)
, sharing its default charset ISO-8859-1 instead of UTF-8 as used hereMethods in org.springframework.http.client.support that return types with arguments of type ClientHttpRequestInterceptor Modifier and Type Method Description List<ClientHttpRequestInterceptor>
InterceptingHttpAccessor. getInterceptors()
Get the request interceptors that this accessor uses.Method parameters in org.springframework.http.client.support with type arguments of type ClientHttpRequestInterceptor Modifier and Type Method Description void
InterceptingHttpAccessor. setInterceptors(List<ClientHttpRequestInterceptor> interceptors)
Set the request interceptors that this accessor should use.