Package org.cybergarage.http
Class HTTPHeader
- java.lang.Object
-
- org.cybergarage.http.HTTPHeader
-
public class HTTPHeader extends Object
-
-
Constructor Summary
Constructors Constructor Description HTTPHeader(String lineStr)
HTTPHeader(String name, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getIntegerValue(byte[] data, String name)
static int
getIntegerValue(String data, String name)
String
getName()
String
getValue()
static String
getValue(byte[] data, String name)
static String
getValue(LineNumberReader reader, String name)
static String
getValue(String data, String name)
boolean
hasName()
void
setName(String name)
void
setValue(String value)
-
-
-
Method Detail
-
setName
public void setName(String name)
-
setValue
public void setValue(String value)
-
getName
public String getName()
-
getValue
public String getValue()
-
hasName
public boolean hasName()
-
getValue
public static final String getValue(LineNumberReader reader, String name)
-
getIntegerValue
public static final int getIntegerValue(byte[] data, String name)
-
-