Enum Http3ErrorCode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int code()  
      static Http3ErrorCode valueOf​(java.lang.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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • H3_NO_ERROR

        public static final Http3ErrorCode H3_NO_ERROR
        No error. This is used when the connection or stream needs to be closed, but there is no error to signal.
      • H3_GENERAL_PROTOCOL_ERROR

        public static final Http3ErrorCode 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_INTERNAL_ERROR

        public static final Http3ErrorCode H3_INTERNAL_ERROR
        An internal error has occurred in the HTTP stack.
      • H3_STREAM_CREATION_ERROR

        public static final Http3ErrorCode H3_STREAM_CREATION_ERROR
        The endpoint detected that its peer created a stream that it will not accept.
      • H3_CLOSED_CRITICAL_STREAM

        public static final Http3ErrorCode H3_CLOSED_CRITICAL_STREAM
        A stream required by the HTTP/3 connection was closed or reset.
      • H3_FRAME_UNEXPECTED

        public static final Http3ErrorCode H3_FRAME_UNEXPECTED
        A frame was received that was not permitted in the current state or on the current stream.
      • H3_FRAME_ERROR

        public static final Http3ErrorCode H3_FRAME_ERROR
        A frame that fails to satisfy layout requirements or with an invalid size was received.
      • H3_EXCESSIVE_LOAD

        public static final Http3ErrorCode H3_EXCESSIVE_LOAD
        The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
      • H3_ID_ERROR

        public static final Http3ErrorCode H3_ID_ERROR
        A Stream ID or Push ID was used incorrectly, such as exceeding a limit, reducing a limit, or being reused.
      • H3_SETTINGS_ERROR

        public static final Http3ErrorCode H3_SETTINGS_ERROR
        An endpoint detected an error in the payload of a SETTINGS frame.
      • H3_MISSING_SETTINGS

        public static final Http3ErrorCode H3_MISSING_SETTINGS
        No SETTINGS frame was received at the beginning of the control stream.
      • H3_REQUEST_REJECTED

        public static final Http3ErrorCode H3_REQUEST_REJECTED
        A server rejected a request without performing any application processing.
      • H3_REQUEST_CANCELLED

        public static final Http3ErrorCode H3_REQUEST_CANCELLED
        The request or its response (including pushed response) is cancelled.
      • H3_REQUEST_INCOMPLETE

        public static final Http3ErrorCode H3_REQUEST_INCOMPLETE
        The client's stream terminated without containing a fully-formed request.
      • H3_MESSAGE_ERROR

        public static final Http3ErrorCode H3_MESSAGE_ERROR
        An HTTP message was malformed and cannot be processed.
      • H3_CONNECT_ERROR

        public static final Http3ErrorCode H3_CONNECT_ERROR
        The TCP connection established in response to a CONNECT request was reset or abnormally closed.
      • H3_VERSION_FALLBACK

        public static final Http3ErrorCode H3_VERSION_FALLBACK
        The requested operation cannot be served over HTTP/3. The peer should retry over HTTP/1.1.
      • QPACK_DECOMPRESSION_FAILED

        public static final Http3ErrorCode 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

        public static final Http3ErrorCode QPACK_ENCODER_STREAM_ERROR
        The decoder failed to interpret an encoder instruction received on the encoder stream.
      • QPACK_DECODER_STREAM_ERROR

        public static final Http3ErrorCode QPACK_DECODER_STREAM_ERROR
        The encoder failed to interpret a decoder instruction received on the decoder stream.
    • Method Detail

      • values

        public static Http3ErrorCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Http3ErrorCode c : Http3ErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Http3ErrorCode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • code

        public int code()