public final class QuicTransportError extends Object
| Modifier and Type | Field and Description |
|---|---|
static QuicTransportError |
AEAD_LIMIT_REACHED
An endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given
connection.
|
static QuicTransportError |
APPLICATION_ERROR
The application or application protocol caused the connection to be closed.
|
static QuicTransportError |
CONNECTION_ID_LIMIT_ERROR
The number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit.
|
static QuicTransportError |
CONNECTION_REFUSED
The server refused to accept a new connection.
|
static QuicTransportError |
CRYPTO_BUFFER_EXCEEDED
An endpoint has received more data in CRYPTO frames than it can buffer.
|
static QuicTransportError |
FINAL_SIZE_ERROR
(1) An endpoint received a STREAM frame containing data that exceeded the previously established final size,
(2) an endpoint received a STREAM frame or a RESET_STREAM frame containing a final size that was lower than
the size of stream data that was already received, or (3) an endpoint received a STREAM frame or a RESET_STREAM
frame containing a different final size to the one already established.
|
static QuicTransportError |
FLOW_CONTROL_ERROR
An endpoint received more data than it permitted in its advertised data limits.
|
static QuicTransportError |
FRAME_ENCODING_ERROR
An endpoint received a frame that was badly formatted -- for instance, a frame of an unknown type or an ACK
frame that has more acknowledgment ranges than the remainder of the packet could carry.
|
static QuicTransportError |
INTERNAL_ERROR
The endpoint encountered an internal error and cannot continue with the connection.
|
static QuicTransportError |
INVALID_TOKEN
A server received a client Initial that contained an invalid Token field.
|
static QuicTransportError |
KEY_UPDATE_ERROR
An endpoint detected errors in performing key updates.
|
static QuicTransportError |
NO_ERROR
An endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the
absence of any error.
|
static QuicTransportError |
NO_VIABLE_PATH
n endpoint has determined that the network path is incapable of supporting QUIC.
|
static QuicTransportError |
PROTOCOL_VIOLATION
An endpoint detected an error with protocol compliance that was not covered by more specific error codes.
|
static QuicTransportError |
STREAM_LIMIT_ERROR
An endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the
corresponding stream type.
|
static QuicTransportError |
STREAM_STATE_ERROR
An endpoint received a frame for a stream that was not in a state that permitted that frame.
|
static QuicTransportError |
TRANSPORT_PARAMETER_ERROR
An endpoint received transport parameters that were badly formatted, included an invalid value, omitted a
mandatory transport parameter, included a forbidden transport parameter, or were otherwise in error.
|
| Modifier and Type | Method and Description |
|---|---|
long |
code()
Returns the code for this error used on the wire as defined by RFC9000.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isCryptoError()
Returns true if this is a
CRYPTO_ERROR. |
String |
name()
Returns the name of the error as defined by RFC9000.
|
String |
toString() |
static QuicTransportError |
valueOf(long value) |
public static final QuicTransportError NO_ERROR
public static final QuicTransportError INTERNAL_ERROR
public static final QuicTransportError CONNECTION_REFUSED
public static final QuicTransportError FLOW_CONTROL_ERROR
public static final QuicTransportError STREAM_LIMIT_ERROR
public static final QuicTransportError STREAM_STATE_ERROR
public static final QuicTransportError FINAL_SIZE_ERROR
public static final QuicTransportError FRAME_ENCODING_ERROR
public static final QuicTransportError TRANSPORT_PARAMETER_ERROR
public static final QuicTransportError CONNECTION_ID_LIMIT_ERROR
public static final QuicTransportError PROTOCOL_VIOLATION
public static final QuicTransportError INVALID_TOKEN
public static final QuicTransportError APPLICATION_ERROR
public static final QuicTransportError CRYPTO_BUFFER_EXCEEDED
public static final QuicTransportError KEY_UPDATE_ERROR
public static final QuicTransportError AEAD_LIMIT_REACHED
public static final QuicTransportError NO_VIABLE_PATH
public boolean isCryptoError()
CRYPTO_ERROR.public String name()
public long code()
public static QuicTransportError valueOf(long value)
Copyright © 2020–2025 The Netty Project. All rights reserved.