HttpRouteDirector implementation.
| Modifier and Type | Field and Description |
|---|---|
| public static final BasicRouteDirector | INSTANCE
Singleton instance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | Returns: one of the constants defined in this class, indicating either the next step to perform, or success, or failurethe planned route plan, final RouteInfo the currently established route fact)Determines the next step to establish a direct connection. |
| protected int | |
| public int | Returns: one of the constants defined in this class, indicating either the next step to perform, or success, or failure. 0 is for success, a negative value for failure.the planned route plan, final RouteInfo the currently established route, or
fact)null if nothing is establishedImplements org. |
| protected int | Returns: one of the constants defined in this class, indicating either the next step to perform, or success, or failurethe planned route plan, final RouteInfo the currently established route fact)Determines the next step to establish a connection via proxy. |
| INSTANCE | back to summary |
|---|---|
| public static final BasicRouteDirector INSTANCE Singleton instance.
| |
| BasicRouteDirector | back to summary |
|---|---|
| public BasicRouteDirector() | |
| directStep | back to summary |
|---|---|
| protected int directStep(final RouteInfo plan, final RouteInfo fact) Determines the next step to establish a direct connection. | |
| firstStep | back to summary |
|---|---|
| protected int firstStep(final RouteInfo plan) Determines the first step to establish a route.
| |
| nextStep | back to summary |
|---|---|
| public int nextStep(final RouteInfo plan, final RouteInfo fact) Implements org. Provides the next step.
| |
| proxiedStep | back to summary |
|---|---|
| protected int proxiedStep(final RouteInfo plan, final RouteInfo fact) Determines the next step to establish a connection via proxy. | |