Home / Function/ updateOptions() — netty Function Reference

updateOptions() — netty Function Reference

Architecture documentation for the updateOptions() function in Quic.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  285923ba_da16_a7f5_d066_36fdf7a79cb2["updateOptions()"]
  ce0a1216_6e51_db3d_e439_3e5fed561f60["Quic"]
  285923ba_da16_a7f5_d066_36fdf7a79cb2 -->|defined in| ce0a1216_6e51_db3d_e439_3e5fed561f60
  style 285923ba_da16_a7f5_d066_36fdf7a79cb2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java lines 142–149

    static <T> void updateOptions(Map<ChannelOption<?>, Object> options, ChannelOption<T> option, @Nullable T value) {
        ObjectUtil.checkNotNull(option, "option");
        if (value == null) {
            options.remove(option);
        } else {
            options.put(option, value);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does updateOptions() do?
updateOptions() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java.
Where is updateOptions() defined?
updateOptions() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java at line 142.

Analyze Your Own Codebase

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

Try Supermodel Free