Home / File/ QuicTransportError.java — netty Source File

QuicTransportError.java — netty Source File

Architecture documentation for QuicTransportError.java, a java file in the netty codebase.

Entity Profile

Relationship Graph

Source Code

/*
 * Copyright 2024 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.quic;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * <a href="https://www.rfc-editor.org/rfc/rfc9000.html#name-transport-error-codes">
 *     RFC9000 20.1. Transport Error Codes</a>
 */
public final class QuicTransportError {

    /**
     * An endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the
     * absence of any error.
     */
    public static final QuicTransportError NO_ERROR =
            new QuicTransportError(0x0, "NO_ERROR");

    /**
     * The endpoint encountered an internal error and cannot continue with the connection.
     */
    public static final QuicTransportError INTERNAL_ERROR =
            new QuicTransportError(0x1, "INTERNAL_ERROR");

    /**
     * The server refused to accept a new connection.
     */
    public static final QuicTransportError CONNECTION_REFUSED =
            new QuicTransportError(0x2, "CONNECTION_REFUSED");

    /**
     * An endpoint received more data than it permitted in its advertised data limits.
     */
    public static final QuicTransportError FLOW_CONTROL_ERROR =
            new QuicTransportError(0x3, "FLOW_CONTROL_ERROR");

    /**
     * An endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the
     * corresponding stream type.
     */
    public static final QuicTransportError STREAM_LIMIT_ERROR =
            new QuicTransportError(0x4, "STREAM_LIMIT_ERROR");

    /**
// ... (178 more lines)

Domain

Subdomains

Frequently Asked Questions

What does QuicTransportError.java do?
QuicTransportError.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Allocators subdomain.
Where is QuicTransportError.java in the architecture?
QuicTransportError.java is located at codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicTransportError.java (domain: Buffer, subdomain: Allocators, directory: codec-classes-quic/src/main/java/io/netty/handler/codec/quic).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free