public abstract class HttpRequestInterceptorBase extends Object implements org.apache.http.HttpRequestInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
HttpRequestInterceptorBase(org.apache.http.client.CookieStore cs,
String cn,
boolean isSSL,
Map<String,String> additionalHeaders,
Map<String,String> customCookies) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addHttpAuthHeader(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
protected String |
getNewTrackHeader() |
void |
process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
org.apache.http.HttpRequestInterceptor |
sessionId(Supplier<String> sessionId) |
void |
setRequestTrackingEnabled(boolean requestTrackingEnabled) |
protected abstract void addHttpAuthHeader(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext)
throws Exception
Exceptionpublic void process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext)
throws org.apache.http.HttpException,
IOException
process in interface org.apache.http.HttpRequestInterceptororg.apache.http.HttpExceptionIOExceptionprotected String getNewTrackHeader()
public void setRequestTrackingEnabled(boolean requestTrackingEnabled)
Copyright © 2024 The Apache Software Foundation. All rights reserved.