|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.http.HttpHeaderParser
public class HttpHeaderParser
Class HttpHeaderParser parses http headers
| Constructor Summary | |
|---|---|
HttpHeaderParser(String pHeader)
Ctor. |
|
| Method Summary | |
|---|---|
String |
getField(int pIndex)
Returns the header field at a given index |
int |
getIntValue(String pName,
int pDefault)
Returns the value of a numeric header field for a given name specifying a default. |
String |
getValue(int pIndex)
Returns the value of a header field at a given index |
String |
getValue(String pName)
Returns the value of a header field for a given name |
String |
getValue(String pName,
String pDefault)
Returns the value of a header field for a given name specifying a default. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HttpHeaderParser(String pHeader)
pHeader - The header block| Method Detail |
|---|
public String getField(int pIndex)
pIndex - The index
public String getValue(int pIndex)
pIndex -
public String getValue(String pName)
pName - The name
public String getValue(String pName,
String pDefault)
pName - The name of the header fieldpDefault - The value returned if no field of the given name exists
public int getIntValue(String pName,
int pDefault)
pName - The name of the header fieldpDefault - The value returned if no field of the given name exists
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||