Http3Settings.java — netty Source File
Architecture documentation for Http3Settings.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2025 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;
import io.netty.util.collection.LongObjectHashMap;
import io.netty.util.collection.LongObjectMap;
import javax.annotation.Nullable;
import java.util.Iterator;
import java.util.Map;
import static java.lang.Long.toHexString;
import static io.netty.util.internal.ObjectUtil.checkNotNull;
/**
* Represents a collection of HTTP/3 settings as defined by the
* <a href="https://datatracker.ietf.org/doc/html/rfc9114#section-7.2.4">
* HTTP/3 specification</a>.
*
* <p>This class provides type-safe accessors for standard HTTP/3 settings such as:
* <ul>
* <li>{@code QPACK_MAX_TABLE_CAPACITY} (0x1)</li>
* <li>{@code MAX_FIELD_SECTION_SIZE} (0x6)</li>
* <li>{@code QPACK_BLOCKED_STREAMS} (0x7)</li>
* <li>{@code ENABLE_CONNECT_PROTOCOL} (0x8)</li>
* <li>{@code H3_DATAGRAM} (0x33)</>
* </ul>
*
* Non-standard settings are ignored
* Reserved HTTP/2 setting identifiers are rejected.
*
*/
public final class Http3Settings implements Iterable<Map.Entry<Long, Long>> {
private final LongObjectMap<Long> settings;
final NonStandardHttp3SettingsValidator nonStandardSettingsValidator;
private static final Long TRUE = 1L;
private static final Long FALSE = 0L;
/**
* Creates a new instance
*/
public Http3Settings() {
// Ignore non-standard settings by default.
this((id, v) -> false);
}
// ... (325 more lines)
Domain
Subdomains
Classes
Source
Frequently Asked Questions
What does Http3Settings.java do?
Http3Settings.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Allocators subdomain.
Where is Http3Settings.java in the architecture?
Http3Settings.java is located at codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Settings.java (domain: Buffer, subdomain: Allocators, 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