| Modifier and Type | Field and Description |
|---|---|
| public static final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final long | |
| public static final int | |
| private final long[] | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | TYPE
The SETTINGS frame type, as defined by HTTP/3 |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | SettingsFrame(long
the id of an undefined (reserved) parameter undefinedId, long a random value for the undefined parameter undefinedValue)Creates a new HTTP/3 SETTINGS frame, including the given reserved identifier id and value pair. |
| public | SettingsFrame()
Creates a new empty SETTINGS frame, and allocate a random reserved id and value pair. |
| Modifier and Type | Method and Description |
|---|---|
| public static AbstractHttp3Frame | Returns: a new SettingsFrame frame, or a MalformedFrame.a reader containing bytes reader, Logger debug)Decodes a SETTINGS frame from the given reader. |
| public static SettingsFrame | |
| public synchronized long | Returns: the value of the given parameter, if present,-1, if absentthe parameter id paramID)Get the parameter value for the given parameter id |
| public boolean | |
| public static boolean | Returns: true if this is one of the reserved identifiersthe parameter id id)Tells whether the given id is one of the undefined parameter ids that are reserved and have no meaning. |
| public long | length()
Implements jdk. Returns the length of this frame. |
| private String | |
| public static long | |
| public static long | |
| public synchronized SettingsFrame | Returns: thisthe parameter id paramID, long the parameter value value)Sets the given parameter to the given value. |
| public String | toString()
Overrides jdk. Returns a string representation of the object. |
| public void | writeFrame(ByteBuffer
a byte buffer to write this frame into buf)Writes this frame to the given buffer. |
| DEFAULT_SETTINGS_MAX_FIELD_SECTION_SIZE | back to summary |
|---|---|
| public static final long DEFAULT_SETTINGS_MAX_FIELD_SECTION_SIZE | |
| DEFAULT_SETTINGS_QPACK_BLOCKED_STREAMS | back to summary |
|---|---|
| public static final int DEFAULT_SETTINGS_QPACK_BLOCKED_STREAMS | |
| DEFAULT_SETTINGS_QPACK_MAX_TABLE_CAPACITY | back to summary |
|---|---|
| public static final int DEFAULT_SETTINGS_QPACK_MAX_TABLE_CAPACITY | |
| ENABLE_PUSH | back to summary |
|---|---|
| public static final int ENABLE_PUSH | |
| INITIAL_WINDOW_SIZE | back to summary |
|---|---|
| public static final int INITIAL_WINDOW_SIZE | |
| MAX_CONCURRENT_STREAMS | back to summary |
|---|---|
| public static final int MAX_CONCURRENT_STREAMS | |
| MAX_FRAME_SIZE | back to summary |
|---|---|
| public static final int MAX_FRAME_SIZE | |
| MAX_N | back to summary |
|---|---|
| private static final long MAX_N | |
| MAX_PARAM | back to summary |
|---|---|
| public static final int MAX_PARAM | |
| parameters | back to summary |
|---|---|
| private final long[] parameters | |
| SETTINGS_MAX_FIELD_SECTION_SIZE | back to summary |
|---|---|
| public static final int SETTINGS_MAX_FIELD_SECTION_SIZE | |
| SETTINGS_QPACK_BLOCKED_STREAMS | back to summary |
|---|---|
| public static final int SETTINGS_QPACK_BLOCKED_STREAMS | |
| SETTINGS_QPACK_MAX_TABLE_CAPACITY | back to summary |
|---|---|
| public static final int SETTINGS_QPACK_MAX_TABLE_CAPACITY | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The SETTINGS frame type, as defined by HTTP/3 | |
| undefinedId | back to summary |
|---|---|
| private long undefinedId | |
| undefinedValue | back to summary |
|---|---|
| private long undefinedValue | |
| SettingsFrame | back to summary |
|---|---|
| public SettingsFrame(long undefinedId, long undefinedValue) Creates a new HTTP/3 SETTINGS frame, including the given reserved identifier id and value pair. Implementation Note We only keep one reserved id/value pair - there's no reason to keep more...
| |
| SettingsFrame | back to summary |
|---|---|
| public SettingsFrame() Creates a new empty SETTINGS frame, and allocate a random reserved id and value pair. | |
| decodeFrame | back to summary |
|---|---|
| public static AbstractHttp3Frame decodeFrame(BuffersReader reader, Logger debug) Decodes a SETTINGS frame from the given reader. This method is expected to be called when the reader contains enough bytes to decode the frame.
| |
| defaultRFCSettings | back to summary |
|---|---|
| public static SettingsFrame defaultRFCSettings() | |
| getParameter | back to summary |
|---|---|
| public synchronized long getParameter(int paramID) Get the parameter value for the given parameter id
| |
| isIllegal | back to summary |
|---|---|
| public boolean isIllegal(long parameterId) | |
| isReservedId | back to summary |
|---|---|
| public static boolean isReservedId(long id) Tells whether the given id is one of the undefined parameter ids that are reserved and have no meaning. API Note Setting identifiers of the format 0x1f * N + 0x21 for non-negative integer values of N are reserved to exercise the requirement that unknown identifiers be ignored
| |
| length | back to summary |
|---|---|
| public long length() Implements jdk. Doc from jdk. Returns the length of this frame.
| |
| name | back to summary |
|---|---|
| private String name(long i) | |
| nextRandomParameterValue | back to summary |
|---|---|
| public static long nextRandomParameterValue() | |
| nextRandomReservedParameterId | back to summary |
|---|---|
| public static long nextRandomReservedParameterId() | |
| setParameter | back to summary |
|---|---|
| public synchronized SettingsFrame setParameter(long paramID, long value) Sets the given parameter to the given value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeFrame | back to summary |
|---|---|
| public void writeFrame(ByteBuffer buf) Writes this frame to the given buffer.
| |