Note
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| private class | |
| protected static interface | |
| protected class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final AtomicInteger | |
| private final Adapter | |
| private long | |
| private final Set | |
| protected final String | |
| private AtomicReference | |
| private volatile long | |
| protected static final int | |
| protected static final int | |
| protected static final byte[] | |
| protected static final HeaderSink | |
| private HpackDecoder | |
| private HpackEncoder | |
| private static final String | |
| private volatile int | |
| private volatile int | |
| protected final ConnectionSettingsLocal | localSettings
Local settings are settings defined by Tomcat and sent to the client that the client must use when communicating with Tomcat. |
| protected static final Log | |
| private volatile int | |
| private volatile int | |
| private volatile int | |
| private final AtomicInteger | |
| private final AtomicLong | |
| private volatile Http2Parser | |
| private volatile long | |
| protected static final byte[] | |
| protected static final byte[] | |
| private final Http2UpgradeHandler. | |
| protected final Http2Protocol | |
| private Queue | |
| private final ConnectionSettingsRemote | remoteSettings
Remote settings are settings defined by the client and sent to Tomcat that Tomcat must use when communicating with the client. |
| protected static final byte[] | |
| protected static final StringManager | |
| protected final SocketWrapperBase | |
| private volatile SSLSupport | |
| private static final Integer | |
| private AtomicInteger | |
| private final ConcurrentNavigableMap | |
| protected final UserDataHelper |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http2UpgradeHandler(Http2Protocol protocol, Adapter adapter, Request coyoteRequest, SocketWrapperBase<?> socketWrapper)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private void | |
| private Stream | |
| private Stream | |
| protected byte[] | Returns: The WINDOW_UPDATE frame if one is required or an empty array if no WINDOW_UPDATE is required.
|
| private int | |
| protected void | |
| public void | destroy()
Implements jakarta. This method is called after the upgraded connection has been closed. |
| protected Http2UpgradeHandler. | doWriteHeaders(Stream stream, int pushedStreamId, MimeHeaders mimeHeaders, boolean endOfStream, int payloadSize)
|
| public void | endRequestBodyFrame(int streamId, int dataLength)
Implements org.
|
| pack-priv void | |
| public boolean | fill(boolean
Should the first read into the provided buffer be a blocking read or not. block, byte[] Buffer to fill data, int Position in buffer to start writing offset, int Number of bytes to read length)Implements org. Fill the given array with data unless non-blocking is requested and no data is available. |
| private AbstractNonZeroStream | |
| private AbstractNonZeroStream | |
| protected final String | |
| protected Http2UpgradeHandler. | |
| public HpackDecoder | |
| protected HpackEncoder | |
| pack-priv ConnectionSettingsLocal | |
| public int | |
| protected Http2Parser | |
| protected Http2UpgradeHandler. | |
| pack-priv Http2Protocol | |
| pack-priv ConnectionSettingsRemote | |
| public ServletConnection | |
| private Stream | |
| private Stream | |
| private int | |
| public void | goaway(int lastStreamId, long errorCode, String debugData)
Implements org.
|
| protected void | |
| public void | headersContinue(int payloadSize, boolean endOfHeaders)
Implements org.
|
| public void | headersEnd(int streamId, boolean endOfStream)
Implements org.
|
| public HpackDecoder. | headersStart(int streamId, boolean headersEndStream)
Implements org.
|
| public void | increaseOverheadCount(FrameType frameType)
Implements org.
|
| private void | |
| private int | |
| protected void | incrementWindowSize(int
The amount by which the window size should be increased increment)Overrides org. Increment window size. |
| public void | incrementWindowSize(int streamId, int increment)
Implements org.
|
| public void | init(WebConnection
The connection that has been upgraded webConnection)Implements jakarta. This method is called once the request/response pair where |
| pack-priv boolean | |
| public void | onSwallowedDataFramePayload(int
The stream on which the payload that has been swallowed was received streamId, int The number of bytes that the parser swallowed. swallowedDataBytesCount)Implements org. Notification triggered when the parser swallows some or all of a DATA frame payload without writing it to the
ByteBuffer returned by |
| public void | onSwallowedUnknownFrame(int
The stream on which the swallowed frame was received streamId, int The (unrecognised) type of swallowed frame frameTypeId, int The flags set in the header of the swallowed frame flags, int The payload size of the swallowed frame size)Implements org. Notification triggered when the parser swallows the payload of an unknown frame. |
| public void | |
| public void | pingReceive(byte[] payload, boolean ack)
Implements org.
|
| public void | priorityUpdate(int prioritizedStreamID, Priority p)
Implements org.
|
| protected void | |
| protected SendfileState | Returns: The result of the send file processingThe stream and associated data to process sendfileData)Process send file (if supported) for the given stream. |
| protected void | |
| pack-priv void | |
| protected void | |
| private void | |
| pack-priv void | |
| public void | receivedEndOfStream(int streamId)
Implements org.
|
| private void | |
| pack-priv void | |
| private Set | |
| pack-priv void | |
| public void | reprioritise(int
Unused streamId, int Unused parentStreamId, boolean Unused exclusive, int Unused weight)
Deprecated
Unused. Will be removed in Tomcat 11 onwards.
Unused - NO-OP. |
| pack-priv int | |
| public void | |
| pack-priv void | |
| protected void | |
| private void | |
| protected void | |
| private void | |
| public void | |
| public void | setSslSupport(SSLSupport sslSupport)
Implements org.
|
| public void | |
| public void | |
| public ByteBuffer | startRequestBodyFrame(int streamId, int payloadSize, boolean endOfStream)
Implements org.
|
| public void | timeoutAsync(long now)
Implements org.
|
| private void | |
| public AbstractEndpoint. | |
| pack-priv void | |
| protected void | |
| pack-priv void | writeHeaders(Stream stream, int pushedStreamId, MimeHeaders mimeHeaders, boolean endOfStream, int payloadSize)
|
| protected void | |
| pack-priv void |