Package io.netty.handler.codec.http2
Interface Http2HeadersDecoder
-
- All Known Implementing Classes:
DefaultHttp2HeadersDecoder
public interface Http2HeadersDecoderDecodes HPACK-encoded headers blocks intoHttp2Headers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceHttp2HeadersDecoder.ConfigurationConfiguration related elements for theHttp2HeadersDecoderinterface
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Http2HeadersDecoder.Configurationconfiguration()Get theHttp2HeadersDecoder.Configurationfor thisHttp2HeadersDecoderHttp2HeadersdecodeHeaders(int streamId, ByteBuf headerBlock)Decodes the given headers block and returns the headers.
-
-
-
Method Detail
-
decodeHeaders
Http2Headers decodeHeaders(int streamId, ByteBuf headerBlock) throws Http2Exception
Decodes the given headers block and returns the headers.- Throws:
Http2Exception
-
configuration
Http2HeadersDecoder.Configuration configuration()
Get theHttp2HeadersDecoder.Configurationfor thisHttp2HeadersDecoder
-
-