Implements baggage-octet decoding in accordance with th Baggage header content specification. All US-ASCII characters excluding CTLs, whitespace, DQUOTE, comma, semicolon and backslash are encoded in `www-form-urlencoded` encoding scheme.
| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | Returns: array of original bytesarray of URL safe characters bytes)Decodes an array of URL safe 7-bit characters into an array of original bytes. |
| pack-priv static String | |
| private static int | Returns: The numeric value represented by the character in radix 16.The byte to be converted. b)Returns the numeric value of the character |
| ESCAPE_CHAR | back to summary |
|---|---|
| private static final byte ESCAPE_CHAR | |
| RADIX | back to summary |
|---|---|
| private static final int RADIX | |
| BaggageCodec | back to summary |
|---|---|
| private BaggageCodec() | |
| decode | back to summary |
|---|---|
| private static byte[] decode(byte[] bytes) Decodes an array of URL safe 7-bit characters into an array of original bytes. Escaped characters are converted back to their original representation.
| |
| decode | back to summary |
|---|---|
| pack-priv static String decode(String value, Charset charset) Decodes an array of URL safe 7-bit characters into an array of original bytes. Escaped characters are converted back to their original representation. | |
| digit16 | back to summary |
|---|---|
| private static int digit16(byte b) Returns the numeric value of the character
| |