Package io.netty.handler.codec.http2
Interface Http2HeadersDecoder
- All Known Implementing Classes:
DefaultHttp2HeadersDecoder
public interface Http2HeadersDecoder
Decodes HPACK-encoded headers blocks into
Http2Headers
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Configuration related elements for theHttp2HeadersDecoder
interface -
Method Summary
Modifier and TypeMethodDescriptionGet theHttp2HeadersDecoder.Configuration
for thisHttp2HeadersDecoder
decodeHeaders
(int streamId, ByteBuf headerBlock) Decodes the given headers block and returns the headers.
-
Method Details
-
decodeHeaders
Decodes the given headers block and returns the headers.- Throws:
Http2Exception
-
configuration
Http2HeadersDecoder.Configuration configuration()Get theHttp2HeadersDecoder.Configuration
for thisHttp2HeadersDecoder
-