A new instance is created per connection.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| private final ConnectorStatisticsImpl | |
| private final boolean | |
| private final StringBuilder | |
| private final String | |
| private final long | |
| private final int | |
| private final boolean | |
| private final HttpHandler | |
| private final boolean | |
| private final OptionMap |
| Access | Constructor and Description |
|---|---|
| public | Http2ReceiveListener(HttpHandler rootHandler, OptionMap undertowOptions, int bufferSize, ConnectorStatisticsImpl connectorStatistics)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | Returns: true if check was successful, false otherwisemap of the request headers headers)Performs HTTP2 specification compliance check for headers and pseudo-headers of a current request. |
| private void | handleCommonSetup(Http2HeadersStreamSinkChannel sink, HttpServerExchange exchange, Http2ServerConnection connection)
|
| public void | handleEvent(Http2Channel
the channel event channel)Implements org. Handle the event on this channel. |
| pack-priv void | handleInitialRequest(HttpServerExchange
The initial upgrade request that started the HTTP2 connection initial, Http2Channel channel, byte[] data)Handles the initial request when the exchange was started by a HTTP upgrade. |
| private void |
| allowUnescapedCharactersInUrl | back to summary |
|---|---|
| private final boolean allowUnescapedCharactersInUrl | |
| bufferSize | back to summary |
|---|---|
| private final int bufferSize | |
| connectorStatistics | back to summary |
|---|---|
| private final ConnectorStatisticsImpl connectorStatistics | |
| decode | back to summary |
|---|---|
| private final boolean decode | |
| decodeBuffer | back to summary |
|---|---|
| private final StringBuilder decodeBuffer | |
| encoding | back to summary |
|---|---|
| private final String encoding | |
| maxEntitySize | back to summary |
|---|---|
| private final long maxEntitySize | |
| maxParameters | back to summary |
|---|---|
| private final int maxParameters | |
| recordRequestStartTime | back to summary |
|---|---|
| private final boolean recordRequestStartTime | |
| rootHandler | back to summary |
|---|---|
| private final HttpHandler rootHandler | |
| slashDecodingFlag | back to summary |
|---|---|
| private final boolean slashDecodingFlag | |
| undertowOptions | back to summary |
|---|---|
| private final OptionMap undertowOptions | |
| Http2ReceiveListener | back to summary |
|---|---|
| public Http2ReceiveListener(HttpHandler rootHandler, OptionMap undertowOptions, int bufferSize, ConnectorStatisticsImpl connectorStatistics) | |
| checkRequestHeaders | back to summary |
|---|---|
| private boolean checkRequestHeaders(HeaderMap headers) Performs HTTP2 specification compliance check for headers and pseudo-headers of a current request.
| |
| handleCommonSetup | back to summary |
|---|---|
| private void handleCommonSetup(Http2HeadersStreamSinkChannel sink, HttpServerExchange exchange, Http2ServerConnection connection) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(Http2Channel channel) Implements org. Doc from org. Handle the event on this channel.
| |
| handleInitialRequest | back to summary |
|---|---|
| pack-priv void handleInitialRequest(HttpServerExchange initial, Http2Channel channel, byte[] data) Handles the initial request when the exchange was started by a HTTP upgrade.
| |
| handleRequests | back to summary |
|---|---|
| private void handleRequests(Http2Channel channel, Http2StreamSourceChannel frame) | |