| Modifier and Type | Field and Description |
|---|---|
| public static final H2Error | CANCEL
Stream canceled. |
| pack-priv int | |
| public static final H2Error | COMPRESSION_ERROR
Compression state not updated. |
| public static final H2Error | CONNECT_ERROR
TCP connection error. |
| public static final H2Error | ENHANCE_YOUR_CALM
Processing capacity exceeded. |
| public static final H2Error | FLOW_CONTROL_ERROR
Flow control limits exceeded. |
| public static final H2Error | FRAME_SIZE_ERROR
Frame size incorrect. |
| public static final H2Error | HTTP_1_1_REQUIRED
Use HTTP/1.1 for the request. |
| public static final H2Error | INADEQUATE_SECURITY
Negotiated TLS parameters not acceptable. |
| public static final H2Error | |
| private static final ConcurrentMap | |
| public static final H2Error | |
| public static final H2Error | |
| public static final H2Error | REFUSED_STREAM
Stream not processed The endpoint refuses the stream prior to performing any application processing. |
| public static final H2Error | SETTINGS_TIMEOUT
Settings not acknowledged. |
| public static final H2Error | STREAM_CLOSED
Frame received for closed stream. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static H2Error | |
| public int | |
| public static H2Error | |
| public static H2Error[] |
| CANCEL | back to summary |
|---|---|
| public static final H2Error CANCEL Stream canceled. Used by the endpoint to indicate that the stream is no longer needed | |
| code | back to summary |
|---|---|
| pack-priv int code | |
| COMPRESSION_ERROR | back to summary |
|---|---|
| public static final H2Error COMPRESSION_ERROR Compression state not updated. The endpoint is unable to maintain the header compression context for the connection. | |
| CONNECT_ERROR | back to summary |
|---|---|
| public static final H2Error CONNECT_ERROR TCP connection error. The connection established in response to a CONNECT request was reset or abnormally closed. | |
| ENHANCE_YOUR_CALM | back to summary |
|---|---|
| public static final H2Error ENHANCE_YOUR_CALM Processing capacity exceeded. The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load. | |
| FLOW_CONTROL_ERROR | back to summary |
|---|---|
| public static final H2Error FLOW_CONTROL_ERROR Flow control limits exceeded. The endpoint detected that its peer violated the flow control protocol. | |
| FRAME_SIZE_ERROR | back to summary |
|---|---|
| public static final H2Error FRAME_SIZE_ERROR Frame size incorrect. The endpoint received a frame with an invalid size. | |
| HTTP_1_1_REQUIRED | back to summary |
|---|---|
| public static final H2Error HTTP_1_1_REQUIRED Use HTTP/1.1 for the request. The endpoint requires that HTTP/1.1 be used instead of HTTP/2. | |
| INADEQUATE_SECURITY | back to summary |
|---|---|
| public static final H2Error INADEQUATE_SECURITY Negotiated TLS parameters not acceptable. The underlying transport has properties that do not meet minimum security requirements. | |
| INTERNAL_ERROR | back to summary |
|---|---|
| public static final H2Error INTERNAL_ERROR Implementation fault The endpoint encountered an unexpected internal error. | |
| MAP_BY_CODE | back to summary |
|---|---|
| private static final ConcurrentMap<Integer, H2Error> MAP_BY_CODE | |
| NO_ERROR | back to summary |
|---|---|
| public static final H2Error NO_ERROR Graceful shutdown The associated condition is not as a result of an error. | |
| PROTOCOL_ERROR | back to summary |
|---|---|
| public static final H2Error PROTOCOL_ERROR Protocol error detected The endpoint detected an unspecific protocol error. This error is for use when a more specific error code is not available | |
| REFUSED_STREAM | back to summary |
|---|---|
| public static final H2Error REFUSED_STREAM Stream not processed The endpoint refuses the stream prior to performing any application processing. | |
| SETTINGS_TIMEOUT | back to summary |
|---|---|
| public static final H2Error SETTINGS_TIMEOUT Settings not acknowledged. The endpoint sent a SETTINGS frame, but did not receive a response in a timely manner. | |
| STREAM_CLOSED | back to summary |
|---|---|
| public static final H2Error STREAM_CLOSED Frame received for closed stream. The endpoint received a frame after a stream was half closed. | |
| H2Error | back to summary |
|---|---|
| private H2Error(final int code) | |
| getByCode | back to summary |
|---|---|
| public static H2Error getByCode(final int code) | |
| getCode | back to summary |
|---|---|
| public int getCode() | |
| valueOf | back to summary |
|---|---|
| public static H2Error valueOf(String name) | |
| values | back to summary |
|---|---|
| public static H2Error[] values() | |