public static class FromServer.Header.CombinedMap extends FromServer.Header<java.util.Map<java.lang.String,java.lang.String>>
Type representing headers that have values which are parseable as key/value pairs,
provided the header hey is included in the key/value map.
For example: Content-Type: text/html; charset=utf-8
FromServer.Header.CombinedMap, FromServer.Header.CsvList, FromServer.Header.HttpCookies, FromServer.Header.HttpDate, FromServer.Header.MapPairs, FromServer.Header.SingleLong, FromServer.Header.ValueOnly
Constructor and Description |
---|
CombinedMap(java.lang.String key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getParsedType()
Always returns
List |
java.util.Map<java.lang.String,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.Map<java.lang.String,java.lang.String> parse()
FromServer.Header
Performs the parse of the value
parse
in class FromServer.Header<java.util.Map<java.lang.String,java.lang.String>>
public java.lang.Class<?> getParsedType()
Always returns List
getParsedType
in class FromServer.Header<java.util.Map<java.lang.String,java.lang.String>>