Note
following aspects are not specified in RFC: - some invalid elements (key or value) - parser will include valid ones, disregard invalid - empty "value" is regarded as invalid - meta - anything besides element terminator (comma).
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Element | |
| private String | |
| private int | |
| private boolean | |
| private Parser. | |
| private final Element |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| pack-priv void | |
| private static void | |
| private void | reset(int
index where parser should start new element scan index)Resets parsing state, preparing to start a new list element (see spec). |
| private void |
| baggageHeader | back to summary |
|---|---|
| private final String baggageHeader | |
| key | back to summary |
|---|---|
| private final Element key | |
| meta | back to summary |
|---|---|
| private String meta | |
| metaStart | back to summary |
|---|---|
| private int metaStart | |
| skipToNext | back to summary |
|---|---|
| private boolean skipToNext | |
| state | back to summary |
|---|---|
| private Parser. | |
| value | back to summary |
|---|---|
| private final Element value | |
| Parser | back to summary |
|---|---|
| pack-priv Parser(String baggageHeader) | |
| decodeValue | back to summary |
|---|---|
private static String decodeValue(String value)
| |
| parseInto | back to summary |
|---|---|
| pack-priv void parseInto(BaggageBuilder baggageBuilder) | |
| putBaggage | back to summary |
|---|---|
| private static void putBaggage(BaggageBuilder baggage, String key, String value, String metadataValue) | |
| reset | back to summary |
|---|---|
| private void reset(int index) Resets parsing state, preparing to start a new list element (see spec).
| |
| setState | back to summary |
|---|---|
| private void setState(Parser. Switches parser state (element of a list member). | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Parser. | |
| public static Parser. |
| KEY | back to summary |
|---|---|
| public static final Parser. | |
| META | back to summary |
|---|---|
| public static final Parser. | |
| VALUE | back to summary |
|---|---|
| public static final Parser. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Parser. | |
| values | back to summary |
|---|---|
| public static Parser. | |