Further responsibilities such as communication with the opposite endpoint is delegated to the next executor in the request execution chain.
| Modifier and Type | Field and Description |
|---|---|
| private final AuthCacheKeeper | |
| private final HttpAuthenticator | |
| private static final Logger | |
| private final AuthenticationStrategy | |
| private final SchemePortResolver | |
| private final AuthenticationStrategy |
| Access | Constructor and Description |
|---|---|
| pack-priv | AsyncProtocolExec(final AuthenticationStrategy targetAuthStrategy, final AuthenticationStrategy proxyAuthStrategy, final SchemePortResolver schemePortResolver, final boolean authCachingDisabled)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | execute(final HttpRequest
the actual request. userRequest, final AsyncEntityProducer the request entity producer or entityProducer, final AsyncExecChain.null if the request
does not enclose an entity.the execution scope . scope,the next element in the request execution chain. chain, final AsyncExecCallback the execution callback. asyncExecCallback)Implements org. |
| private void | internalExecute(final HttpHost target, final String pathPrefix, final AuthExchange targetAuthExchange, final AuthExchange proxyAuthExchange, final AtomicBoolean challenged, final HttpRequest request, final AsyncEntityProducer entityProducer, final AsyncExecChain.
|
| private boolean | needAuthentication(final AuthExchange targetAuthExchange, final AuthExchange proxyAuthExchange, final HttpHost proxy, final HttpHost target, final String pathPrefix, final HttpResponse response, final HttpClientContext context)
|
| authCacheKeeper | back to summary |
|---|---|
| private final AuthCacheKeeper authCacheKeeper | |
| authenticator | back to summary |
|---|---|
| private final HttpAuthenticator authenticator | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| proxyAuthStrategy | back to summary |
|---|---|
| private final AuthenticationStrategy proxyAuthStrategy | |
| schemePortResolver | back to summary |
|---|---|
| private final SchemePortResolver schemePortResolver | |
| targetAuthStrategy | back to summary |
|---|---|
| private final AuthenticationStrategy targetAuthStrategy | |
| AsyncProtocolExec | back to summary |
|---|---|
| pack-priv AsyncProtocolExec(final AuthenticationStrategy targetAuthStrategy, final AuthenticationStrategy proxyAuthStrategy, final SchemePortResolver schemePortResolver, final boolean authCachingDisabled) | |
| execute | back to summary |
|---|---|
| public void execute(final HttpRequest userRequest, final AsyncEntityProducer entityProducer, final AsyncExecChain. Implements org. Doc from org. Executes the actual HTTP request. The handler can choose to return a response message immediately inside the call or asynchronously at some later point or delegate request execution to the next element in the execution chain.
| |
| internalExecute | back to summary |
|---|---|
| private void internalExecute(final HttpHost target, final String pathPrefix, final AuthExchange targetAuthExchange, final AuthExchange proxyAuthExchange, final AtomicBoolean challenged, final HttpRequest request, final AsyncEntityProducer entityProducer, final AsyncExecChain. | |
| needAuthentication | back to summary |
|---|---|
| private boolean needAuthentication(final AuthExchange targetAuthExchange, final AuthExchange proxyAuthExchange, final HttpHost proxy, final HttpHost target, final String pathPrefix, final HttpResponse response, final HttpClientContext context) | |