| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | error
Indicates if an error occurred during request/response processing. |
| pack-priv HttpContext | httpContext
References |
| pack-priv boolean | keepAlive
This flag controls the semantics of the Connection response header. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpContext | Returns: HttpContext associated with the processing.
Returns |
| public boolean | Returns: true, if error occurred during the HTTP processing, or false otherwise.This flag indicates whether error occurred during the HTTP processing. |
| public boolean | Returns: true if connection may work in keep-alive mode or false otherwise.This flag controls the connection keep-alive feature. |
| public boolean | Returns: true only if the connection is in keep-alive mode and there was no error occurred during the packet processing.Method returns true only if the connection is in keep-alive mode and there was no error occurred during the packet processing. |
| public void | |
| public void | setError(boolean
true, if error occurred during the HTTP processing, or false otherwise. error)This flag indicates whether error occurred during the HTTP processing. |
| public void | |
| public void | setKeepAlive(boolean
true if connection may work in keep-alive mode or false otherwise. keepAlive)This flag controls the connection keep-alive feature. |
| error | back to summary |
|---|---|
| pack-priv boolean error Indicates if an error occurred during request/response processing. | |
| httpContext | back to summary |
|---|---|
| pack-priv HttpContext httpContext
References | |
| keepAlive | back to summary |
|---|---|
| pack-priv boolean keepAlive This flag controls the semantics of the Connection response header. | |
| ProcessingState | back to summary |
|---|---|
| public ProcessingState() | |
| getHttpContext | back to summary |
|---|---|
| public HttpContext getHttpContext()
Returns
| |
| isError | back to summary |
|---|---|
| public boolean isError() This flag indicates whether error occurred during the HTTP processing.
| |
| isKeepAlive | back to summary |
|---|---|
| public boolean isKeepAlive() This flag controls the connection keep-alive feature.
| |
| isStayAlive | back to summary |
|---|---|
| public boolean isStayAlive() Method returns true only if the connection is in keep-alive mode and there was no error occurred during the packet processing.
| |
| recycle | back to summary |
|---|---|
| public void recycle() Resets values to their initial states. | |
| setError | back to summary |
|---|---|
| public void setError(boolean error) This flag indicates whether error occurred during the HTTP processing.
| |
| setHttpContext | back to summary |
|---|---|
| public void setHttpContext(final HttpContext httpContext)
Sets the
| |
| setKeepAlive | back to summary |
|---|---|
| public void setKeepAlive(boolean keepAlive) This flag controls the connection keep-alive feature.
| |