public class DefaultHttp2HeadersEncoder extends Object implements Http2HeadersEncoder, Http2HeadersEncoder.Configuration
Http2HeadersEncoder.Configuration| Constructor and Description |
|---|
DefaultHttp2HeadersEncoder() |
DefaultHttp2HeadersEncoder(int maxHeaderTableSize,
Set<String> sensitiveHeaders) |
| 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.
|
Http2HeaderTable |
headerTable()
Access the Http2HeaderTable for this
Http2HeadersEncoder |
public void encodeHeaders(Http2Headers headers, ByteBuf buffer) throws Http2Exception
Http2HeadersEncoderencodeHeaders in interface Http2HeadersEncoderheaders - the headers to be encoded.buffer - the buffer to receive the encoded headers.Http2Exceptionpublic Http2HeaderTable headerTable()
Http2HeadersEncoder.ConfigurationHttp2HeadersEncoderheaderTable in interface Http2HeadersEncoder.Configurationpublic Http2HeadersEncoder.Configuration configuration()
Http2HeadersEncoderHttp2HeadersEncoder.Configuration for this Http2HeadersEncoderconfiguration in interface Http2HeadersEncoderCopyright © 2008–2015 The Netty Project. All rights reserved.