See InboundHttp2ToHttpAdapter to get translation from HTTP/2 frames to HTTP/1.x objects.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private HttpScheme | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| protected | HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders)
|
| protected | HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway)
|
| protected | HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway, HttpScheme httpScheme)
|
| protected | HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway, boolean flushPreface, HttpScheme httpScheme)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | Returns: The stream id to use with thisHttpHeaders objectThe HTTP/1.x headers object to look for the stream id httpHeaders)Get the next stream id either from the |
| public Future | write(ChannelHandlerContext
the ctx, Object ChannelHandlerContext for which the write operation is madethe message to write msg)Overrides default io. HttpMessage and HttpContent to HTTP/2 frames.
|
| private static Future | writeHeaders(ChannelHandlerContext ctx, Http2ConnectionEncoder encoder, int streamId, HttpHeaders headers, Http2Headers http2Headers, boolean endStream)
|
| currentStreamId | back to summary |
|---|---|
| private int currentStreamId | |
| httpScheme | back to summary |
|---|---|
| private HttpScheme httpScheme | |
| validateHeaders | back to summary |
|---|---|
| private final boolean validateHeaders | |
| HttpToHttp2ConnectionHandler | back to summary |
|---|---|
| protected HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders) | |
| HttpToHttp2ConnectionHandler | back to summary |
|---|---|
| protected HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway) | |
| HttpToHttp2ConnectionHandler | back to summary |
|---|---|
| protected HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway, HttpScheme httpScheme) | |
| HttpToHttp2ConnectionHandler | back to summary |
|---|---|
| protected HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders, boolean decoupleCloseAndGoAway, boolean flushPreface, HttpScheme httpScheme) | |
| getStreamId | back to summary |
|---|---|
| private int getStreamId(HttpHeaders httpHeaders) throws Exception Get the next stream id either from the
| |
| write | back to summary |
|---|---|
| public Future Overrides default io. Handles conversion of
| |
| writeHeaders | back to summary |
|---|---|
| private static Future | |