Further responsibilities such as communication with the opposite endpoint is delegated to the next executor in the request execution chain.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final RedirectStrategy | |
| private final HttpRoutePlanner |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | execute(final HttpRequest
the actual request. request, 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 AsyncRedirectExec.
|
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| redirectStrategy | back to summary |
|---|---|
| private final RedirectStrategy redirectStrategy | |
| routePlanner | back to summary |
|---|---|
| private final HttpRoutePlanner routePlanner | |
| AsyncRedirectExec | back to summary |
|---|---|
| pack-priv AsyncRedirectExec(final HttpRoutePlanner routePlanner, final RedirectStrategy redirectStrategy) | |
| execute | back to summary |
|---|---|
| public void execute(final HttpRequest request, 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 AsyncRedirectExec. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile AsyncEntityProducer | |
| pack-priv volatile HttpRequest | |
| pack-priv volatile AsyncExecChain. | |
| pack-priv volatile int | |
| pack-priv volatile HttpRequest | |
| pack-priv volatile int | |
| pack-priv volatile RedirectLocations | |
| pack-priv volatile URI | |
| pack-priv volatile boolean |
| Access | Constructor and Description |
|---|---|
| private |
| currentEntityProducer | back to summary |
|---|---|
| pack-priv volatile AsyncEntityProducer currentEntityProducer | |
| currentRequest | back to summary |
|---|---|
| pack-priv volatile HttpRequest currentRequest | |
| currentScope | back to summary |
|---|---|
| pack-priv volatile AsyncExecChain. | |
| maxRedirects | back to summary |
|---|---|
| pack-priv volatile int maxRedirects | |
| originalRequest | back to summary |
|---|---|
| pack-priv volatile HttpRequest originalRequest | |
| redirectCount | back to summary |
|---|---|
| pack-priv volatile int redirectCount | |
| redirectLocations | back to summary |
|---|---|
| pack-priv volatile RedirectLocations redirectLocations | |
| redirectURI | back to summary |
|---|---|
| pack-priv volatile URI redirectURI | |
| reroute | back to summary |
|---|---|
| pack-priv volatile boolean reroute | |
| State | back to summary |
|---|---|
| private State() | |