public static interface HpackEncoder.HpackHeaderFunction
Modifier and Type | Method and Description |
---|---|
boolean | shouldUseHuffman(HttpString header) Returns true if huffman encoding should be used on the header name |
boolean | shouldUseHuffman(HttpString header, String value) Returns true if huffman encoding should be used on the header value |
boolean | shouldUseIndexing(HttpString header, String value) |
boolean shouldUseIndexing(HttpString header, String value)
boolean shouldUseHuffman(HttpString header, String value)
header
- The header namevalue
- The header value to be encodedtrue
if the value should be encodedboolean shouldUseHuffman(HttpString header)
header
- The header name to be encodedtrue
if the value should be encodedCopyright © 2017 JBoss by Red Hat. All rights reserved.