public static interface HpackEncoder.HpackHeaderFunction
Modifier and Type | Method and Description |
---|---|
boolean |
shouldUseHuffman(String header)
Returns true if huffman encoding should be used on the header name
|
boolean |
shouldUseHuffman(String header,
String value)
Returns true if huffman encoding should be used on the header value
|
boolean |
shouldUseIndexing(String header,
String value) |
boolean shouldUseHuffman(String header, String value)
header
- The header namevalue
- The header value to be encodedtrue
if the value should be encodedboolean shouldUseHuffman(String header)
header
- The header name to be encodedtrue
if the value should be encodedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.