| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.http.ConstantHTTPHeaderValue
public class 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 | 
BROWSE_FEATURE
Constant for the 'browse/version' value sent.  | 
static HTTPHeaderValue | 
CHAT_FEATURE
Constant for the 'chat/version' value sent.  | 
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 | 
G2_FEATURE
Constant for the g2/version' value sent.  | 
static HTTPHeaderValue | 
PUSH_LOCS_FEATURE
exact meaning of this header: the host sending this header would like to receive alternate locations behind firewalls.  | 
static HTTPHeaderValue | 
QUEUE_FEATURE
Constant for the 'queue/version' value sent.  | 
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
public static final HTTPHeaderValue BROWSE_FEATURE
public static final HTTPHeaderValue CHAT_FEATURE
public static final HTTPHeaderValue QUEUE_FEATURE
public static final HTTPHeaderValue G2_FEATURE
public static final HTTPHeaderValue PUSH_LOCS_FEATURE
| 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 | |||||||||