public interface Http2HeadersEncoder
Http2Headers
into HPACK-encoded headers blocks.Modifier and Type | Interface and Description |
---|---|
static interface |
Http2HeadersEncoder.Configuration
Configuration related elements for the
Http2HeadersEncoder interface |
Modifier and Type | Method and Description |
---|---|
Http2HeadersEncoder.Configuration |
configuration()
Get the
Http2HeadersEncoder.Configuration for this Http2HeadersEncoder |
void |
encodeHeaders(Http2Headers headers,
ByteBuf buffer)
Encodes the given headers and writes the output headers block to the given output buffer.
|
void encodeHeaders(Http2Headers headers, ByteBuf buffer) throws Http2Exception
headers
- the headers to be encoded.buffer
- the buffer to receive the encoded headers.Http2Exception
Http2HeadersEncoder.Configuration configuration()
Http2HeadersEncoder.Configuration
for this Http2HeadersEncoder
Copyright © 2008–2015 The Netty Project. All rights reserved.