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.
|
Constructor and Description |
---|
InterceptingClientHttpRequestFactory(ClientHttpRequestFactory requestFactory,
List<ClientHttpRequestInterceptor> interceptors)
Create a new instance of the
InterceptingClientHttpRequestFactory with the given parameters. |
Modifier and Type | Class and Description |
---|---|
class |
BasicAuthenticationInterceptor
ClientHttpRequestInterceptor to apply a given HTTP Basic Authentication
username/password pair, unless a custom Authorization header has
already been set. |
class |
BasicAuthorizationInterceptor
Deprecated.
as of 5.1.1, in favor of
BasicAuthenticationInterceptor
which reuses HttpHeaders.setBasicAuth(java.lang.String, java.lang.String) ,
sharing its default charset ISO-8859-1 instead of UTF-8 as used here |
Modifier and Type | Method and Description |
---|---|
List<ClientHttpRequestInterceptor> |
InterceptingHttpAccessor.getInterceptors()
Get the request interceptors that this accessor uses.
|
Modifier and Type | Method and Description |
---|---|
void |
InterceptingHttpAccessor.setInterceptors(List<ClientHttpRequestInterceptor> interceptors)
Set the request interceptors that this accessor should use.
|