public static class FromServer.Header.CsvList extends FromServer.Header<java.util.List<java.lang.String>>
Type representing headers that have values which are comma separated lists.
For example: Allow: GET, HEAD
FromServer.Header.CombinedMap, FromServer.Header.CsvList, FromServer.Header.HttpCookies, FromServer.Header.HttpDate, FromServer.Header.MapPairs, FromServer.Header.SingleLong, FromServer.Header.ValueOnly
Constructor and Description |
---|
CsvList(java.lang.String key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getParsedType()
Retrieves the type of the parsed representation of the 'value`.
|
java.util.List<java.lang.String> |
parse()
Performs the parse of the
value |
cleanQuotes, equals, find, full, getKey, getParsed, getValue, hashCode, key, keyValue, setValue, toString, value
public java.util.List<java.lang.String> parse()
FromServer.Header
Performs the parse of the value
parse
in class FromServer.Header<java.util.List<java.lang.String>>
public java.lang.Class<?> getParsedType()
FromServer.Header
Retrieves the type of the parsed representation of the 'value`.
getParsedType
in class FromServer.Header<java.util.List<java.lang.String>>