com.limegroup.gnutella.http
Class HTTPConstants

java.lang.Object
  extended bycom.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 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 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?".
 
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

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