YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
org.seamless.http.Headers Class Reference

Unifies various HTTP header representations. More...

Inheritance diagram for org.seamless.http.Headers:
Inheritance graph
Collaboration diagram for org.seamless.http.Headers:
Collaboration graph

Public Member Functions

 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 Public Member Functions

static String readLine (ByteArrayInputStream is)
 
static String readLine (StringBuilder sb, ByteArrayInputStream is)
 

Protected Member Functions

String[] splitHeader (String sb)
 
int findNonWhitespace (String sb, int offset)
 
int findEndOfString (String sb)
 

Detailed Description

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: