Class QuicTransportError
java.lang.Object
io.netty.handler.codec.quic.QuicTransportError
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QuicTransportErrorAn endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given connection.static final QuicTransportErrorThe application or application protocol caused the connection to be closed.static final QuicTransportErrorThe number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit.static final QuicTransportErrorThe server refused to accept a new connection.static final QuicTransportErrorAn endpoint has received more data in CRYPTO frames than it can buffer.static final QuicTransportError(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 final QuicTransportErrorAn endpoint received more data than it permitted in its advertised data limits.static final QuicTransportErrorAn 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 final QuicTransportErrorThe endpoint encountered an internal error and cannot continue with the connection.static final QuicTransportErrorA server received a client Initial that contained an invalid Token field.static final QuicTransportErrorAn endpoint detected errors in performing key updates.static final QuicTransportErrorAn endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the absence of any error.static final QuicTransportErrorn endpoint has determined that the network path is incapable of supporting QUIC.static final QuicTransportErrorAn endpoint detected an error with protocol compliance that was not covered by more specific error codes.static final QuicTransportErrorAn endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the corresponding stream type.static final QuicTransportErrorAn endpoint received a frame for a stream that was not in a state that permitted that frame.static final QuicTransportErrorAn 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. -
Method Summary
Modifier and TypeMethodDescriptionlongcode()Returns the code for this error used on the wire as defined by RFC9000.booleaninthashCode()booleanReturns true if this is aCRYPTO_ERROR.name()Returns the name of the error as defined by RFC9000.toString()static QuicTransportErrorvalueOf(long value)
-
Field Details
-
NO_ERROR
An endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the absence of any error. -
INTERNAL_ERROR
The endpoint encountered an internal error and cannot continue with the connection. -
CONNECTION_REFUSED
The server refused to accept a new connection. -
FLOW_CONTROL_ERROR
An endpoint received more data than it permitted in its advertised data limits. -
STREAM_LIMIT_ERROR
An endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the corresponding stream type. -
STREAM_STATE_ERROR
An endpoint received a frame for a stream that was not in a state that permitted that frame. -
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. -
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. -
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. -
CONNECTION_ID_LIMIT_ERROR
The number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit. -
PROTOCOL_VIOLATION
An endpoint detected an error with protocol compliance that was not covered by more specific error codes. -
INVALID_TOKEN
A server received a client Initial that contained an invalid Token field. -
APPLICATION_ERROR
The application or application protocol caused the connection to be closed. -
CRYPTO_BUFFER_EXCEEDED
An endpoint has received more data in CRYPTO frames than it can buffer. -
KEY_UPDATE_ERROR
An endpoint detected errors in performing key updates. -
AEAD_LIMIT_REACHED
An endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given connection. -
NO_VIABLE_PATH
n endpoint has determined that the network path is incapable of supporting QUIC. An endpoint is unlikely to receive a CONNECTION_CLOSE frame carrying this code except when the path does not support a large enough MTU.
-
-
Method Details
-
isCryptoError
public boolean isCryptoError()Returns true if this is aCRYPTO_ERROR. -
name
-
code
public long code()Returns the code for this error used on the wire as defined by RFC9000. -
valueOf
-
equals
-
hashCode
-
toString
-