public abstract class

InterceptingHttpAccessor

extends HttpAccessor
java.lang.Object
   ↳ org.springframework.http.client.support.HttpAccessor
     ↳ org.springframework.http.client.support.InterceptingHttpAccessor
Known Direct Subclasses

Class Overview

Base class for RestTemplate and other HTTP accessing gateway helpers, adding interceptor-related properties to HttpAccessor's common properties.

Not intended to be used directly. See RestTemplate.

Summary

[Expand]
Inherited Fields
From class org.springframework.http.client.support.HttpAccessor
Public Constructors
InterceptingHttpAccessor()
Public Methods
ClientHttpRequestInterceptor[] getInterceptors()
Return the request interceptor that this accessor uses.
ClientHttpRequestFactory getRequestFactory()
Return the request factory that this accessor uses for obtaining HttpRequests.
void setInterceptors(ClientHttpRequestInterceptor[] interceptors)
Sets the request interceptors that this accessor should use.
[Expand]
Inherited Methods
From class org.springframework.http.client.support.HttpAccessor
From class java.lang.Object

Public Constructors

public InterceptingHttpAccessor ()

Public Methods

public ClientHttpRequestInterceptor[] getInterceptors ()

Return the request interceptor that this accessor uses.

public ClientHttpRequestFactory getRequestFactory ()

Return the request factory that this accessor uses for obtaining HttpRequests.

public void setInterceptors (ClientHttpRequestInterceptor[] interceptors)

Sets the request interceptors that this accessor should use.