Unifies various HTTP header representations.
More...
|
| Headers (Map< String, List< String > > map) |
|
| Headers (ByteArrayInputStream inputStream) |
|
| Headers (boolean normalizeHeaders) |
|
int | size () |
|
boolean | isEmpty () |
|
boolean | containsKey (Object key) |
|
boolean | containsValue (Object value) |
|
List< String > | get (Object key) |
|
List< String > | put (String key, List< String > value) |
|
List< String > | remove (Object key) |
|
void | putAll (Map<? extends String, ? extends List< String > > t) |
|
void | clear () |
|
Set< String > | keySet () |
|
Collection< List< String > > | values () |
|
Set< Map.Entry< String, List< String > > > | entrySet () |
|
boolean | equals (Object o) |
|
int | hashCode () |
|
String | getFirstHeader (String key) |
|
void | add (String key, String value) |
|
void | set (String key, String value) |
|
String | toString () |
|
|
static String | readLine (ByteArrayInputStream is) |
|
static String | readLine (StringBuilder sb, ByteArrayInputStream is) |
|
|
String[] | splitHeader (String sb) |
|
int | findNonWhitespace (String sb, int offset) |
|
int | findEndOfString (String sb) |
|
Unifies various HTTP header representations.
Snoracle, do you think you could add something like this to JDK 11g? Or did you kick out the guy who knows how HTTP works so Larry can get his new jet filled up?
TODO: This is just a case-insensitive multi-valued map of strings...
- Author
- Christian Bauer
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/org/seamless/http/Headers.java