| Modifier and Type | Field and Description |
|---|---|
| public static final ErrorState | CLOSE_CLEAN
The current request/response is in an error state and while it is safe to complete the current response it is not safe to continue to use the existing connection which must be closed once the response has been completed. |
| public static final ErrorState | CLOSE_CONNECTION_NOW
An error has been detected that impacts the underlying network connection. |
| public static final ErrorState | CLOSE_NOW
The current request/response is in an error state and it is not safe to continue to use them. |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| public static final ErrorState | NONE
Not in an error state. |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ErrorState | Returns: The most severe error state from the the provided error state and this oneThe error state to compare to this one input)Compare this ErrorState with the provided ErrorState and return the most severe. |
| public boolean | |
| public boolean | |
| public boolean | |
| public static ErrorState | |
| public static ErrorState[] |
| CLOSE_CLEAN | back to summary |
|---|---|
| public static final ErrorState CLOSE_CLEAN The current request/response is in an error state and while it is safe to complete the current response it is not safe to continue to use the existing connection which must be closed once the response has been completed. For multiplexed protocols, the channel must be closed when the current request/response completes but the connection may continue. | |
| CLOSE_CONNECTION_NOW | back to summary |
|---|---|
| public static final ErrorState CLOSE_CONNECTION_NOW An error has been detected that impacts the underlying network connection. It is not safe to continue using the network connection which must be closed immediately. For multiplexed protocols (such as HTTP/2) this impacts all multiplexed channels. | |
| CLOSE_NOW | back to summary |
|---|---|
| public static final ErrorState CLOSE_NOW The current request/response is in an error state and it is not safe to continue to use them. For multiplexed protocols (such as HTTP/2) the stream/channel must be closed immediately but the connection may continue. For non-multiplexed protocols (AJP, HTTP/1.x) the current connection must be closed. | |
| connectionIoAllowed | back to summary |
|---|---|
| private final boolean connectionIoAllowed | |
| error | back to summary |
|---|---|
| private final boolean error | |
| ioAllowed | back to summary |
|---|---|
| private final boolean ioAllowed | |
| NONE | back to summary |
|---|---|
| public static final ErrorState NONE Not in an error state. | |
| severity | back to summary |
|---|---|
| private final int severity | |
| ErrorState | back to summary |
|---|---|
| private ErrorState(boolean error, int severity, boolean ioAllowed, boolean connectionIoAllowed) | |
| getMostSevere | back to summary |
|---|---|
| public ErrorState getMostSevere(ErrorState input) Compare this ErrorState with the provided ErrorState and return the most severe.
| |
| isConnectionIoAllowed | back to summary |
|---|---|
| public boolean isConnectionIoAllowed() | |
| isError | back to summary |
|---|---|
| public boolean isError() | |
| isIoAllowed | back to summary |
|---|---|
| public boolean isIoAllowed() | |
| valueOf | back to summary |
|---|---|
| public static ErrorState valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ErrorState[] values() | |