Class DefaultHttp2Connection.PropertyKeyRegistry

java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2Connection.PropertyKeyRegistry
Enclosing class:
DefaultHttp2Connection

private final class DefaultHttp2Connection.PropertyKeyRegistry extends java.lang.Object
A registry of all stream property keys known by this connection.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final java.util.List<DefaultHttp2Connection.DefaultPropertyKey>
    Initial size of 4 because the default configuration currently has 3 listeners (local/remote flow controller and StreamByteDistributor) and we leave room for 1 extra.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Registers a new property key.
    (package private) int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • keys

      final java.util.List<DefaultHttp2Connection.DefaultPropertyKey> keys
      Initial size of 4 because the default configuration currently has 3 listeners (local/remote flow controller and StreamByteDistributor) and we leave room for 1 extra. We could be more aggressive but the ArrayList resize will double the size if we are too small.
  • Constructor Details

    • PropertyKeyRegistry

      private PropertyKeyRegistry()
  • Method Details