public class AbfsManagedHttpRequestExecutor
extends org.apache.http.protocol.HttpRequestExecutor
HttpRequestExecutor to intercept the connection
activity and register the latency of different phases of a network call. It
also overrides the HttpRequestExecutor's expect100 failure handling as the ADLS
can send any failure statusCode in expect100 hand-shake failure and non
necessarily 1XX code.| Constructor and Description |
|---|
AbfsManagedHttpRequestExecutor(int expect100WaitTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.HttpResponse |
doReceiveResponse(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context) |
protected org.apache.http.HttpResponse |
doSendRequest(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context) |
org.apache.http.HttpResponse |
execute(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context) |
public AbfsManagedHttpRequestExecutor(int expect100WaitTimeout)
public org.apache.http.HttpResponse execute(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context)
throws IOException,
org.apache.http.HttpException
execute in class org.apache.http.protocol.HttpRequestExecutorIOExceptionorg.apache.http.HttpExceptionprotected org.apache.http.HttpResponse doSendRequest(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context)
throws IOException,
org.apache.http.HttpException
doSendRequest in class org.apache.http.protocol.HttpRequestExecutorIOExceptionorg.apache.http.HttpExceptionprotected org.apache.http.HttpResponse doReceiveResponse(org.apache.http.HttpRequest request,
org.apache.http.HttpClientConnection conn,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
doReceiveResponse in class org.apache.http.protocol.HttpRequestExecutororg.apache.http.HttpExceptionIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.