| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final String | |
| private final HttpServerConnection | |
| private final ConnectorStatisticsImpl | |
| private HttpServerExchange | |
| private final long | |
| private final int | |
| private final HttpRequestParser | |
| private ParseTimeoutUpdater | |
| private static final HttpString | PRI
used for HTTP2 prior knowledge support |
| private static final byte[] | |
| private int | |
| private final boolean | |
| private volatile int | |
| private static final AtomicIntegerFieldUpdater | |
| private final boolean | |
| private final ParseState |
| Access | Constructor and Description |
|---|---|
| pack-priv | HttpReadListener(final HttpServerConnection connection, final HttpRequestParser parser, ConnectorStatisticsImpl connectorStatistics)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | doHttp2PriRead(StreamConnection connection, ByteBuffer buffer, HttpServerConnection serverConnection, PooledByteBuffer extraData)
|
| public void | |
| public void | handleEvent(final ConduitStreamSourceChannel
the channel event channel)Implements org. Handle the event on this channel. |
| public void | |
| private void | |
| private boolean | |
| private void | handleHttp2PriorKnowledge(final StreamConnection connection, final HttpServerConnection serverConnection, PooledByteBuffer readData)
|
| private boolean | |
| public void | |
| public void | |
| private void |
| allowUnknownProtocols | back to summary |
|---|---|
| private final boolean allowUnknownProtocols | |
| BAD_REQUEST | back to summary |
|---|---|
| private static final String BAD_REQUEST | |
| connection | back to summary |
|---|---|
| private final HttpServerConnection connection | |
| connectorStatistics | back to summary |
|---|---|
| private final ConnectorStatisticsImpl connectorStatistics | |
| httpServerExchange | back to summary |
|---|---|
| private HttpServerExchange httpServerExchange | |
| maxEntitySize | back to summary |
|---|---|
| private final long maxEntitySize | |
| maxRequestSize | back to summary |
|---|---|
| private final int maxRequestSize | |
| parser | back to summary |
|---|---|
| private final HttpRequestParser parser | |
| parseTimeoutUpdater | back to summary |
|---|---|
| private ParseTimeoutUpdater parseTimeoutUpdater | |
| PRI | back to summary |
|---|---|
| private static final HttpString PRI used for HTTP2 prior knowledge support | |
| PRI_EXPECTED | back to summary |
|---|---|
| private static final byte[] PRI_EXPECTED | |
| read | back to summary |
|---|---|
| private int read | |
| recordRequestStartTime | back to summary |
|---|---|
| private final boolean recordRequestStartTime | |
| requestState | back to summary |
|---|---|
private volatile int requestState
| |
| requestStateUpdater | back to summary |
|---|---|
| private static final AtomicIntegerFieldUpdater<HttpReadListener> requestStateUpdater | |
| requireHostHeader | back to summary |
|---|---|
| private final boolean requireHostHeader | |
| state | back to summary |
|---|---|
| private final ParseState state | |
| HttpReadListener | back to summary |
|---|---|
| pack-priv HttpReadListener(final HttpServerConnection connection, final HttpRequestParser parser, ConnectorStatisticsImpl connectorStatistics) | |
| doHttp2PriRead | back to summary |
|---|---|
| private boolean doHttp2PriRead(StreamConnection connection, ByteBuffer buffer, HttpServerConnection serverConnection, PooledByteBuffer extraData) throws IOException | |
| exchangeComplete | back to summary |
|---|---|
| public void exchangeComplete(final HttpServerExchange exchange) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(final ConduitStreamSourceChannel channel) Implements org. Doc from org. Handle the event on this channel.
| |
| handleEventWithNoRunningRequest | back to summary |
|---|---|
| public void handleEventWithNoRunningRequest(final ConduitStreamSourceChannel channel) | |
| handleFailedRead | back to summary |
|---|---|
| private void handleFailedRead(ConduitStreamSourceChannel channel, int res) | |
| handleHttp2PriorKnowledge | back to summary |
|---|---|
| private boolean handleHttp2PriorKnowledge(PooledByteBuffer pooled, HttpServerExchange httpServerExchange) throws IOException | |
| handleHttp2PriorKnowledge | back to summary |
|---|---|
| private void handleHttp2PriorKnowledge(final StreamConnection connection, final HttpServerConnection serverConnection, PooledByteBuffer readData) throws IOException | |
| isUpgradeOrConnect | back to summary |
|---|---|
| private boolean isUpgradeOrConnect(HttpServerExchange exchange) | |
| newRequest | back to summary |
|---|---|
| public void newRequest() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| sendBadRequestAndClose | back to summary |
|---|---|
| private void sendBadRequestAndClose(final StreamConnection connection, final Throwable exception) | |