cybergarage-upnp
org.cybergarage.http.HTTPHeader Class Reference

Public Member Functions

 HTTPHeader (String name, String value)
 
 HTTPHeader (String lineStr)
 
void setName (String name)
 
void setValue (String value)
 
String getName ()
 
String getValue ()
 
boolean hasName ()
 

Static Public Member Functions

static final String getValue (LineNumberReader reader, String name)
 
static final String getValue (String data, String name)
 
static final String getValue (byte[] data, String name)
 
static final int getIntegerValue (String data, String name)
 
static final int getIntegerValue (byte[] data, String name)
 

Private Attributes

String name
 
String value
 

Static Private Attributes

static int MAX_LENGTH = 1024
 

Constructor & Destructor Documentation

◆ HTTPHeader() [1/2]

org.cybergarage.http.HTTPHeader.HTTPHeader ( String name,
String value )
inline

◆ HTTPHeader() [2/2]

org.cybergarage.http.HTTPHeader.HTTPHeader ( String lineStr)
inline

Member Function Documentation

◆ getIntegerValue() [1/2]

static final int org.cybergarage.http.HTTPHeader.getIntegerValue ( byte[] data,
String name )
inlinestatic

◆ getIntegerValue() [2/2]

static final int org.cybergarage.http.HTTPHeader.getIntegerValue ( String data,
String name )
inlinestatic

◆ getName()

String org.cybergarage.http.HTTPHeader.getName ( )
inline

◆ getValue() [1/4]

String org.cybergarage.http.HTTPHeader.getValue ( )
inline

◆ getValue() [2/4]

static final String org.cybergarage.http.HTTPHeader.getValue ( byte[] data,
String name )
inlinestatic

◆ getValue() [3/4]

static final String org.cybergarage.http.HTTPHeader.getValue ( LineNumberReader reader,
String name )
inlinestatic

◆ getValue() [4/4]

static final String org.cybergarage.http.HTTPHeader.getValue ( String data,
String name )
inlinestatic

◆ hasName()

boolean org.cybergarage.http.HTTPHeader.hasName ( )
inline

◆ setName()

void org.cybergarage.http.HTTPHeader.setName ( String name)
inline

◆ setValue()

void org.cybergarage.http.HTTPHeader.setValue ( String value)
inline

Field Documentation

◆ MAX_LENGTH

int org.cybergarage.http.HTTPHeader.MAX_LENGTH = 1024
staticprivate

◆ name

String org.cybergarage.http.HTTPHeader.name
private

◆ value

String org.cybergarage.http.HTTPHeader.value
private

The documentation for this class was generated from the following file: