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
Http2HeadersEncoder
encodeHeaders
in interface Http2HeadersEncoder
headers
- the headers to be encoded.buffer
- the buffer to receive the encoded headers.Http2Exception
public Http2HeaderTable headerTable()
Http2HeadersEncoder.Configuration
Http2HeadersEncoder
headerTable
in interface Http2HeadersEncoder.Configuration
public Http2HeadersEncoder.Configuration configuration()
Http2HeadersEncoder
Http2HeadersEncoder.Configuration
for this Http2HeadersEncoder
configuration
in interface Http2HeadersEncoder
Copyright © 2008–2015 The Netty Project. All rights reserved.