Http3ErrorCode.java — netty Source File
Architecture documentation for Http3ErrorCode.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2020 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.handler.codec.http3;
/**
* Different <a href="https://datatracker.ietf.org/doc/html/rfc9114#name-http-3-error-codes">HTTP3 error codes</a>.
*/
public enum Http3ErrorCode {
/**
* Datagram or Capsule Protocol parse error
* <a href="https://www.rfc-editor.org/rfc/rfc9297.html#name-http-3-error-code">rfc9297</a>
* registered in IANA http3
* <a href="https://www.iana.org/assignments/http3-parameters/http3-parameters.xhtml#http3-parameters-error-codes"
* >
* IANA Http3 Error Codes</a>
*/
H3_DATAGRAM_ERROR(0x33),
/**
* No error. This is used when the connection or stream needs to be closed, but there is no error to signal.
*/
H3_NO_ERROR(0x100),
/**
* 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_GENERAL_PROTOCOL_ERROR(0x101),
/**
* An internal error has occurred in the HTTP stack.
*/
H3_INTERNAL_ERROR(0x102),
/**
* The endpoint detected that its peer created a stream that it will not accept.
*/
H3_STREAM_CREATION_ERROR(0x103),
/**
* A stream required by the HTTP/3 connection was closed or reset.
*/
H3_CLOSED_CRITICAL_STREAM(0x104),
/**
* A frame was received that was not permitted in the current state or on the current stream.
// ... (84 more lines)
Types
Source
Frequently Asked Questions
What does Http3ErrorCode.java do?
Http3ErrorCode.java is a source file in the netty codebase, written in java.
Where is Http3ErrorCode.java in the architecture?
Http3ErrorCode.java is located at codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ErrorCode.java (directory: codec-http3/src/main/java/io/netty/handler/codec/http3).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free