com.limegroup.gnutella.http
Class HTTPConstants

java.lang.Object
  extended by com.limegroup.gnutella.http.HTTPConstants

public final class HTTPConstants
extends java.lang.Object

This class defines a set of constants for use in HTTP messages.


Field Summary
static java.lang.String BROWSE_PROTOCOL
           
static double BROWSE_VERSION
           
static java.lang.String CHAT_PROTOCOL
          constant strings for the X-Feature header
static double CHAT_VERSION
           
static java.lang.String FW_TRANSFER
           
static java.lang.String G2_PROTOCOL
           
static double G2_VERSION
           
static java.lang.String GET
          Constant for the beginning "GET" of an HTTP URN get request.
static java.lang.String HTTP10
          Constant for the HTTP 1.0 specifier at the end of an HTTP URN get request.
static java.lang.String HTTP11
          Constant for the HTTP 1.1 specifier at the end of an HTTP URN get request.
static java.lang.String NAME_TO_RESOURCE
          Constant for the "Name to Resource", or "N2R?" resolution service identifier, as specified in RFC 2169.
static java.lang.String NAME_TO_THEX
          Constant for the "Name to THEX", or "N2X?" resolution service identifier, as specified in the PFSP proposal.
static java.lang.String PUSH_LOCS
           
static double PUSH_LOCS_VERSION
           
static java.lang.String QUEUE_PROTOCOL
           
static double QUEUE_VERSION
           
static java.lang.String URI_RES
          Constant for the "uri-res" specifier for an HTTP URN get request.
static java.lang.String URI_RES_N2R
          Constant for the "uri-res" uri resolution specifier, followed by the standard "/" and the resolution service id, in our case "N2R?".
static java.lang.String URI_RES_N2X
          Constant for the "uri-res" uri resolution specifier, followed by the standard "/" and the resolution service id, in this case "N2X?".
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET

public static final java.lang.String GET
Constant for the beginning "GET" of an HTTP URN get request.

See Also:
Constant Field Values

HTTP10

public static final java.lang.String HTTP10
Constant for the HTTP 1.0 specifier at the end of an HTTP URN get request.

See Also:
Constant Field Values

HTTP11

public static final java.lang.String HTTP11
Constant for the HTTP 1.1 specifier at the end of an HTTP URN get request.

See Also:
Constant Field Values

URI_RES

public static final java.lang.String URI_RES
Constant for the "uri-res" specifier for an HTTP URN get request.

See Also:
Constant Field Values

NAME_TO_RESOURCE

public static final java.lang.String NAME_TO_RESOURCE
Constant for the "Name to Resource", or "N2R?" resolution service identifier, as specified in RFC 2169.

See Also:
Constant Field Values

NAME_TO_THEX

public static final java.lang.String NAME_TO_THEX
Constant for the "Name to THEX", or "N2X?" resolution service identifier, as specified in the PFSP proposal.

See Also:
Constant Field Values

URI_RES_N2R

public static final java.lang.String URI_RES_N2R
Constant for the "uri-res" uri resolution specifier, followed by the standard "/" and the resolution service id, in our case "N2R?".

See Also:
Constant Field Values

URI_RES_N2X

public static final java.lang.String URI_RES_N2X
Constant for the "uri-res" uri resolution specifier, followed by the standard "/" and the resolution service id, in this case "N2X?".

See Also:
Constant Field Values

CHAT_PROTOCOL

public static final java.lang.String CHAT_PROTOCOL
constant strings for the X-Feature header

See Also:
Constant Field Values

BROWSE_PROTOCOL

public static final java.lang.String BROWSE_PROTOCOL
See Also:
Constant Field Values

QUEUE_PROTOCOL

public static final java.lang.String QUEUE_PROTOCOL
See Also:
Constant Field Values

G2_PROTOCOL

public static final java.lang.String G2_PROTOCOL
See Also:
Constant Field Values

PUSH_LOCS

public static final java.lang.String PUSH_LOCS
See Also:
Constant Field Values

FW_TRANSFER

public static final java.lang.String FW_TRANSFER
See Also:
Constant Field Values

CHAT_VERSION

public static final double CHAT_VERSION
See Also:
Constant Field Values

BROWSE_VERSION

public static final double BROWSE_VERSION
See Also:
Constant Field Values

QUEUE_VERSION

public static final double QUEUE_VERSION
See Also:
Constant Field Values

G2_VERSION

public static final double G2_VERSION
See Also:
Constant Field Values

PUSH_LOCS_VERSION

public static final double PUSH_LOCS_VERSION
See Also:
Constant Field Values