public enum Http3ErrorCode extends Enum<Http3ErrorCode>
| Enum Constant and Description |
|---|
H3_CLOSED_CRITICAL_STREAM
A stream required by the HTTP/3 connection was closed or reset.
|
H3_CONNECT_ERROR
The TCP connection established in response to a CONNECT request was reset or abnormally closed.
|
H3_EXCESSIVE_LOAD
The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
|
H3_FRAME_ERROR
A frame that fails to satisfy layout requirements or with an invalid size was received.
|
H3_FRAME_UNEXPECTED
A frame was received that was not permitted in the current state or on the current stream.
|
H3_GENERAL_PROTOCOL_ERROR
Peer violated protocol requirements in a way that does not match a more specific error code,
or endpoint declines to use the more specific error code.
|
H3_ID_ERROR
A Stream ID or Push ID was used incorrectly, such as exceeding a limit, reducing a limit, or being reused.
|
H3_INTERNAL_ERROR
An internal error has occurred in the HTTP stack.
|
H3_MESSAGE_ERROR
An HTTP message was malformed and cannot be processed.
|
H3_MISSING_SETTINGS
No SETTINGS frame was received at the beginning of the control stream.
|
H3_NO_ERROR
No error.
|
H3_REQUEST_CANCELLED
The request or its response (including pushed response) is cancelled.
|
H3_REQUEST_INCOMPLETE
The client's stream terminated without containing a fully-formed request.
|
H3_REQUEST_REJECTED
A server rejected a request without performing any application processing.
|
H3_SETTINGS_ERROR
An endpoint detected an error in the payload of a SETTINGS frame.
|
H3_STREAM_CREATION_ERROR
The endpoint detected that its peer created a stream that it will not accept.
|
H3_VERSION_FALLBACK
The requested operation cannot be served over HTTP/3.
|
QPACK_DECODER_STREAM_ERROR
The encoder failed to interpret a decoder instruction received on the decoder stream.
|
QPACK_DECOMPRESSION_FAILED
The decoder failed to interpret an encoded field section and is not able to continue decoding that field section.
|
QPACK_ENCODER_STREAM_ERROR
The decoder failed to interpret an encoder instruction received on the encoder stream.
|
| Modifier and Type | Method and Description |
|---|---|
static Http3ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http3ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http3ErrorCode H3_NO_ERROR
public static final Http3ErrorCode H3_GENERAL_PROTOCOL_ERROR
public static final Http3ErrorCode H3_INTERNAL_ERROR
public static final Http3ErrorCode H3_STREAM_CREATION_ERROR
public static final Http3ErrorCode H3_CLOSED_CRITICAL_STREAM
public static final Http3ErrorCode H3_FRAME_UNEXPECTED
public static final Http3ErrorCode H3_FRAME_ERROR
public static final Http3ErrorCode H3_EXCESSIVE_LOAD
public static final Http3ErrorCode H3_ID_ERROR
public static final Http3ErrorCode H3_SETTINGS_ERROR
public static final Http3ErrorCode H3_MISSING_SETTINGS
public static final Http3ErrorCode H3_REQUEST_REJECTED
public static final Http3ErrorCode H3_REQUEST_CANCELLED
public static final Http3ErrorCode H3_REQUEST_INCOMPLETE
public static final Http3ErrorCode H3_MESSAGE_ERROR
public static final Http3ErrorCode H3_CONNECT_ERROR
public static final Http3ErrorCode H3_VERSION_FALLBACK
public static final Http3ErrorCode QPACK_DECOMPRESSION_FAILED
public static final Http3ErrorCode QPACK_ENCODER_STREAM_ERROR
public static final Http3ErrorCode QPACK_DECODER_STREAM_ERROR
public static Http3ErrorCode[] values()
for (Http3ErrorCode c : Http3ErrorCode.values()) System.out.println(c);
public static Http3ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020–2024 The Netty Project. All rights reserved.