org.apache.http.client.protocol
Class RequestDefaultHeadersHC4
java.lang.Object
org.apache.http.client.protocol.RequestDefaultHeadersHC4
- All Implemented Interfaces:
- org.apache.http.HttpRequestInterceptor
@Immutable
public class RequestDefaultHeadersHC4
- extends java.lang.Object
- implements org.apache.http.HttpRequestInterceptor
Request interceptor that adds default request headers.
- Since:
- 4.0
|
Method Summary |
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestDefaultHeadersHC4
public RequestDefaultHeadersHC4(java.util.Collection<? extends org.apache.http.Header> defaultHeaders)
- Since:
- 4.3
RequestDefaultHeadersHC4
public RequestDefaultHeadersHC4()
process
public void process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
java.io.IOException
- Specified by:
process in interface org.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
java.io.IOException