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,
java.util.List<ClientHttpRequestInterceptor> interceptors)
Create a new instance of the
InterceptingClientHttpRequestFactory with the given parameters. |
Modifier and Type | Class and Description |
---|---|
class |
BasicAuthorizationInterceptor
ClientHttpRequestInterceptor to apply a BASIC authorization header. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ClientHttpRequestInterceptor> |
InterceptingHttpAccessor.getInterceptors()
Return the request interceptors that this accessor uses.
|
Modifier and Type | Method and Description |
---|---|
void |
InterceptingHttpAccessor.setInterceptors(java.util.List<ClientHttpRequestInterceptor> interceptors)
Set the request interceptors that this accessor should use.
|