Package org.eclipse.jetty.http2.hpack
Class Huffman
- java.lang.Object
-
- org.eclipse.jetty.http2.hpack.Huffman
-
public class Huffman extends Object
-
-
Constructor Summary
Constructors Constructor Description Huffman()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringdecode(ByteBuffer buffer)static Stringdecode(ByteBuffer buffer, int length)static voidencode(ByteBuffer buffer, String s)static voidencodeLC(ByteBuffer buffer, String s)static intoctetsNeeded(String s)static intoctetsNeededLC(String s)
-
-
-
Method Detail
-
decode
public static String decode(ByteBuffer buffer) throws HpackException.CompressionException
-
decode
public static String decode(ByteBuffer buffer, int length) throws HpackException.CompressionException
-
octetsNeeded
public static int octetsNeeded(String s)
-
encode
public static void encode(ByteBuffer buffer, String s)
-
octetsNeededLC
public static int octetsNeededLC(String s)
-
encodeLC
public static void encodeLC(ByteBuffer buffer, String s)
-
-