Home / Function/ putValue() — netty Function Reference

putValue() — netty Function Reference

Architecture documentation for the putValue() function in QuicheQuicSslEngine.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8eb107f7_a8c4_500c_f140_54548981c456["putValue()"]
  453b39a5_2559_f486_48cb_8821ee8fee5a["QuicheQuicSslSession"]
  8eb107f7_a8c4_500c_f140_54548981c456 -->|defined in| 453b39a5_2559_f486_48cb_8821ee8fee5a
  0f7fd407_0801_6b9d_79f3_28d8ccfe6d89["notifyUnbound()"]
  8eb107f7_a8c4_500c_f140_54548981c456 -->|calls| 0f7fd407_0801_6b9d_79f3_28d8ccfe6d89
  style 8eb107f7_a8c4_500c_f140_54548981c456 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslEngine.java lines 427–447

        @Override
        public void putValue(String name, Object value) {
            ObjectUtil.checkNotNull(name, "name");
            ObjectUtil.checkNotNull(value, "value");

            final Object old;
            synchronized (this) {
                Map<String, Object> values = this.values;
                if (values == null) {
                    // Use size of 2 to keep the memory overhead small
                    values = this.values = new HashMap<>(2);
                }
                old = values.put(name, value);
            }

            if (value instanceof SSLSessionBindingListener) {
                // Use newSSLSessionBindingEvent so we alway use the wrapper if needed.
                ((SSLSessionBindingListener) value).valueBound(newSSLSessionBindingEvent(name));
            }
            notifyUnbound(old, name);
        }

Domain

Subdomains

Frequently Asked Questions

What does putValue() do?
putValue() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslEngine.java.
Where is putValue() defined?
putValue() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslEngine.java at line 427.
What does putValue() call?
putValue() calls 1 function(s): notifyUnbound.

Analyze Your Own Codebase

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

Try Supermodel Free