Package io.netty.handler.codec.http2
Class DefaultHttp2Connection.PropertyKeyRegistry
java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2Connection.PropertyKeyRegistry
- Enclosing class:
DefaultHttp2Connection
A registry of all stream property keys known by this connection.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List
<DefaultHttp2Connection.DefaultPropertyKey> Initial size of 4 because the default configuration currently has 3 listeners (local/remote flow controller andStreamByteDistributor
) and we leave room for 1 extra. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) DefaultHttp2Connection.DefaultPropertyKey
newKey()
Registers a new property key.(package private) int
size()
-
Field Details
-
keys
Initial size of 4 because the default configuration currently has 3 listeners (local/remote flow controller andStreamByteDistributor
) 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
-
newKey
Registers a new property key. -
size
int size()
-