| Modifier and Type | Field and Description |
|---|---|
| private final Collection | |
| private boolean | |
| private final Attribute | |
| private static final String[] | |
| private static final Logger | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| public | Http2ServerFilter(final Http2Configuration configuration)
Create a new |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| private Http2State | |
| private void | |
| private void | |
| public NextAction | handleAccept(final FilterChainContext ctx)
Overrides org. Implements org. Execute a unit of processing work to be performed, when server channel has accepted the client connection. |
| public NextAction | handleClose(final FilterChainContext ctx)
Overrides org. Implements org. Execute a unit of processing work to be performed, when connection has been closed. |
| public NextAction | handleEvent(final FilterChainContext ctx, final FilterChainEvent event)
Overrides org. Implements org. Handle custom event associated with the |
| public NextAction | handleRead(final FilterChainContext ctx)
Overrides org. Implements org. Execute a unit of processing work to be performed, when channel will become available for reading. |
| public boolean | Returns: true if "undefined" methods support payload, or false otherwiseThe flag, which enables/disables payload support for HTTP methods, for which HTTP spec doesn't clearly state whether they support payload. |
| protected void | onHttpHeadersParsed(final HttpHeader httpHeader, final FilterChainContext ctx)
Overrides org.
|
| protected void | onPrefaceReceived(Http2Session http2Session)
Overrides org.
|
| private void | |
| protected void | processCompleteHeader(final Http2Session http2Session, final FilterChainContext context, final HeaderBlockHead firstHeaderFrame)
Implements abstract org. The method is called once complete HTTP header block arrives on |
| private void | processInRequest(final Http2Session http2Session, final FilterChainContext context, final HeadersFrame headersFrame)
|
| protected void | processOutgoingHttpHeader(final FilterChainContext
the current ctx, final Http2Session FilterChainContextthe http2Session, final HttpHeader Http2Session associated with this HttpHeaderthe out-going httpHeader, final HttpPacket HttpHeaderthe complete entireHttpPacket)HttpPacketImplements abstract org.
|
| public void | setAllowPayloadForUndefinedHttpMethods(boolean
true if "undefined" methods support
payload, or false otherwise allowPayloadForUndefinedHttpMethods)The flag, which enables/disables payload support for HTTP methods, for which HTTP spec doesn't clearly state whether they support payload. |
| pack-priv Collection | |
| private void | |
| private boolean | tryHttpUpgrade(final FilterChainContext ctx, final HttpRequestPacket httpRequest, final boolean isLast)
|
| activeConnections | back to summary |
|---|---|
| private final Collection<Connection<L>> activeConnections | |
| allowPayloadForUndefinedHttpMethods | back to summary |
|---|---|
| private boolean allowPayloadForUndefinedHttpMethods | |
| CIPHER_CHECKED | back to summary |
|---|---|
| private final Attribute<Connection<L>> CIPHER_CHECKED | |
| CIPHER_SUITE_BLACK_LIST | back to summary |
|---|---|
| private static final String[] CIPHER_SUITE_BLACK_LIST | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| shuttingDown | back to summary |
|---|---|
| private final AtomicBoolean shuttingDown | |
| Http2ServerFilter | back to summary |
|---|---|
| public Http2ServerFilter(final Http2Configuration configuration) Create a new | |
| checkHttpMethodOnUpgrade | back to summary |
|---|---|
| private boolean checkHttpMethodOnUpgrade(final HttpRequestPacket httpRequest) | |
| checkPRI | back to summary |
|---|---|
| private boolean checkPRI(final HttpRequestPacket httpRequest, final HttpContent httpContent) | |
| doDirectUpgrade | back to summary |
|---|---|
| private Http2State doDirectUpgrade(final FilterChainContext ctx) | |
| doPush | back to summary |
|---|---|
| private void doPush(final FilterChainContext ctx, final PushEvent pushEvent) | |
| enableOpReadNow | back to summary |
|---|---|
| private void enableOpReadNow(final FilterChainContext ctx) | |
| handleAccept | back to summary |
|---|---|
| public NextAction handleAccept(final FilterChainContext ctx) throws IOException Overrides org. Implements org. Doc from org. Execute a unit of processing work to be performed, when server channel has accepted the client connection. This
| |
| handleClose | back to summary |
|---|---|
| public NextAction handleClose(final FilterChainContext ctx) throws IOException Overrides org. Implements org. Doc from org. Execute a unit of processing work to be performed, when connection has been closed. This
| |
| handleEvent | back to summary |
|---|---|
| public NextAction handleEvent(final FilterChainContext ctx, final FilterChainEvent event) throws IOException Overrides org. Implements org. Doc from org. Handle custom event associated with the
| |
| handleRead | back to summary |
|---|---|
| public NextAction handleRead(final FilterChainContext ctx) throws IOException Overrides org. Implements org. Doc from org. Execute a unit of processing work to be performed, when channel will become available for reading. This
| |
| isAllowPayloadForUndefinedHttpMethods | back to summary |
|---|---|
| public boolean isAllowPayloadForUndefinedHttpMethods() The flag, which enables/disables payload support for HTTP methods, for which HTTP spec doesn't clearly state whether they support payload. Known "undefined" methods are: GET, HEAD, DELETE.
| |
| onHttpHeadersParsed | back to summary |
|---|---|
| protected void onHttpHeadersParsed(final HttpHeader httpHeader, final FilterChainContext ctx) Overrides org.
| |
| onPrefaceReceived | back to summary |
|---|---|
| protected void onPrefaceReceived(Http2Session http2Session) Overrides org.
| |
| prepareOutgoingResponse | back to summary |
|---|---|
| private void prepareOutgoingResponse(final HttpResponsePacket response) | |
| processCompleteHeader | back to summary |
|---|---|
| protected void processCompleteHeader(final Http2Session http2Session, final FilterChainContext context, final HeaderBlockHead firstHeaderFrame) throws IOException Implements abstract org. Doc from org. The method is called once complete HTTP header block arrives on
| |
| processInRequest | back to summary |
|---|---|
| private void processInRequest(final Http2Session http2Session, final FilterChainContext context, final HeadersFrame headersFrame) throws IOException | |
| processOutgoingHttpHeader | back to summary |
|---|---|
| protected void processOutgoingHttpHeader(final FilterChainContext ctx, final Http2Session http2Session, final HttpHeader httpHeader, final HttpPacket entireHttpPacket) throws IOException Implements abstract org.
| |
| setAllowPayloadForUndefinedHttpMethods | back to summary |
|---|---|
| public void setAllowPayloadForUndefinedHttpMethods(boolean allowPayloadForUndefinedHttpMethods) The flag, which enables/disables payload support for HTTP methods, for which HTTP spec doesn't clearly state whether they support payload. Known "undefined" methods are: GET, HEAD, DELETE.
| |
| shuttingDown | back to summary |
|---|---|
| pack-priv Collection | |
| submit | back to summary |
|---|---|
| private void submit(final Connection<L> c, final Runnable runnable) | |
| tryHttpUpgrade | back to summary |
|---|---|
| private boolean tryHttpUpgrade(final FilterChainContext ctx, final HttpRequestPacket httpRequest, final boolean isLast) throws Http2StreamException | |