Class HuffmanDecoder
java.lang.Object
org.eclipse.jetty.http.compression.HuffmanDecoder
Used to decoded Huffman encoded strings.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondecode(ByteBuffer buffer) voidreset()voidsetLength(int length) Set length of input bytes of the huffman data. 
- 
Constructor Details
- 
HuffmanDecoder
public HuffmanDecoder() 
 - 
 - 
Method Details
- 
setLength
public void setLength(int length) Set length of input bytes of the huffman data.- Parameters:
 length- in bytes of the huffman data.
 - 
decode
- Parameters:
 buffer- the buffer containing the Huffman encoded bytes.- Returns:
 - the decoded String.
 - Throws:
 EncodingException- if the huffman encoding is invalid.
 - 
reset
public void reset() 
 -