|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.http.ConstantHTTPHeaderValue
This class adds type safety for constant HTTP header values. If there's an HTTP header value that is constant, simply add it to this enumeration.
Field Summary | |
static HTTPHeaderValue |
CLOSE_VALUE
Constant for the 'close' value sent the server expects to close the connection. |
static HTTPHeaderValue |
DEFLATE_VALUE
Constant for accepting or encoding in deflate, in the Accept-Encoding or Content-Encoding fields. |
static HTTPHeaderValue |
SERVER_VALUE
Constant for the HTTP server, as given in the "Server: " header. |
Method Summary | |
java.lang.String |
httpStringValue()
Returns a string representation of the HTTP header value for this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final HTTPHeaderValue SERVER_VALUE
public static final HTTPHeaderValue DEFLATE_VALUE
public static final HTTPHeaderValue CLOSE_VALUE
Method Detail |
public java.lang.String httpStringValue()
HTTPHeaderValue
httpStringValue
in interface HTTPHeaderValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |