wttools.protocols.http
Class HTTPConstants

java.lang.Object
  |
  +--wttools.protocols.http.HTTPConstants
Direct Known Subclasses:
HTTPConstants, HTTPConstants

public class HTTPConstants
extends java.lang.Object

HTTPConstans.java Created: Wed Oct 3 23:08:57 2001

Version:
$Revision: 1.4 $
Author:
Artur Hefczyc

Field Summary
static int HTTP_CODE_ACCEPTED
          constant HTTP_CODE_ACCEPTED contains value of
static int HTTP_CODE_BAD_GATEWAY
           
static int HTTP_CODE_BAD_REQUEST
           
static int HTTP_CODE_CONFLICT
           
static int HTTP_CODE_CONTINUE
          Describe constant HTTP_CODE_CONTINUE here.
static int HTTP_CODE_CREATED
          constant HTTP_CODE_CREATED contains value of
static int HTTP_CODE_EXPECTATION_FAILED
           
static int HTTP_CODE_FORBIDDEN
           
static int HTTP_CODE_FOUND
          constant HTTP_CODE_FOUND contains value of
static int HTTP_CODE_GATEWAY_TIMEOUT
           
static int HTTP_CODE_GONE
           
static int HTTP_CODE_HTTP_VERSION_NOT_SUPPORTED
           
static int HTTP_CODE_INTERNAL_SERVER_ERROR
           
static int HTTP_CODE_LENGTH_REQUIRED
           
static int HTTP_CODE_METHOD_NOT_ALLOWED
           
static int HTTP_CODE_MOVED_PERMANENTLY
          constant HTTP_CODE_MOVED_PERMANENTLY contains value of
static int HTTP_CODE_MULTIPLE_CHOICES
          constant HTTP_CODE_MULTIPLE_CHOICES contains value of
static int HTTP_CODE_NO_CONTENT
          constant HTTP_CODE_NO_CONTENT contains value of
static int HTTP_CODE_NON_AUTHORITATIVE_INFO
          constant HTTP_CODE_NON_AUTHORITATIVE_INFO contains value of
static int HTTP_CODE_NOT_ACCEPTABLE
           
static int HTTP_CODE_NOT_FOUND
           
static int HTTP_CODE_NOT_IMPLEMENTED
           
static int HTTP_CODE_NOT_MODIFIED
          constant HTTP_CODE_NOT_MODIFIED contains value of
static int HTTP_CODE_OK
          constant HTTP_CODE_OK contains value of
static int HTTP_CODE_PARTIAL_CONTENT
          constant HTTP_CODE_PARTIAL_CONTENT contains value of
static int HTTP_CODE_PAYMENT_REQUIRED
           
static int HTTP_CODE_PRECONDITION_FAILED
           
static int HTTP_CODE_PROXY_AUTHENTICATION_REQUIRED
           
static int HTTP_CODE_REQUEST_ENTITY_TOO_LARGE
           
static int HTTP_CODE_REQUEST_RANGE_NOT_SATISFIABLE
           
static int HTTP_CODE_REQUEST_TIMEOUT
           
static int HTTP_CODE_REQUEST_URI_TOO_LARGE
           
static int HTTP_CODE_RESET_CONTENT
          constant HTTP_CODE_RESET_CONTENT contains value of
static int HTTP_CODE_SEE_OTHER
          constant HTTP_CODE_SEE_OTHER contains value of
static int HTTP_CODE_SERVICE_UNAVAILABLE
           
static int HTTP_CODE_SWITCHING_PROTOCOL
          Describe constant HTTP_CODE_SWITCHING_PROTOCOL here.
static int HTTP_CODE_TEMPORARY_REDIRECT
          constant HTTP_CODE_TEMPORARY_REDIRECT contains value of
static int HTTP_CODE_UNAUTHORIZED
           
static int HTTP_CODE_UNSUPPORTED_MEDIA_TYPE
           
static int HTTP_CODE_USE_PROXY
          constant HTTP_CODE_USE_PROXY contains value of
static java.lang.String HTTP_ENTITY_ALLOW
           
static java.lang.String HTTP_ENTITY_CONTENT_ENCODING
           
static java.lang.String HTTP_ENTITY_CONTENT_LANGUAGE
           
static java.lang.String HTTP_ENTITY_CONTENT_LENGTH
           
static java.lang.String HTTP_ENTITY_CONTENT_LOCATION
           
static java.lang.String HTTP_ENTITY_CONTENT_MD5
           
static java.lang.String HTTP_ENTITY_CONTENT_RANGE
           
static java.lang.String HTTP_ENTITY_CONTENT_TYPE
           
static java.lang.String HTTP_ENTITY_EXPIRES
           
static java.lang.String HTTP_ENTITY_LAST_MODIFIED
           
static java.lang.String HTTP_ENTITY_TRANSFER_ENCODING
           
static java.lang.String HTTP_METHOD_CONNECT
           
static java.lang.String HTTP_METHOD_DELETE
           
static java.lang.String HTTP_METHOD_GET
           
static java.lang.String HTTP_METHOD_HEAD
           
static java.lang.String HTTP_METHOD_OPTIONS
           
static java.lang.String HTTP_METHOD_POST
           
static java.lang.String HTTP_METHOD_PUT
           
static java.lang.String HTTP_METHOD_TRACE
           
static java.lang.String HTTP_REQ_ACCEPT
           
static java.lang.String HTTP_REQ_ACCEPT_CHARSET
           
static java.lang.String HTTP_REQ_ACCEPT_ENCODING
           
static java.lang.String HTTP_REQ_ACCEPT_LANGUAGE
           
static java.lang.String HTTP_REQ_AUTHORIZATION
           
static java.lang.String HTTP_REQ_EXPECT
           
static java.lang.String HTTP_REQ_FROM
           
static java.lang.String HTTP_REQ_HOST
           
static java.lang.String HTTP_REQ_IF_MATCH
           
static java.lang.String HTTP_REQ_IF_MODIFIED_SINCE
           
static java.lang.String HTTP_REQ_IF_NONE_MATCH
           
static java.lang.String HTTP_REQ_IF_RANGE
           
static java.lang.String HTTP_REQ_IF_UNMODIFIED_SINCE
           
static java.lang.String HTTP_REQ_MAX_FORWARDS
           
static java.lang.String HTTP_REQ_PROXY_AUTHORIZATION
           
static java.lang.String HTTP_REQ_RANGE
           
static java.lang.String HTTP_REQ_REFERER
           
static java.lang.String HTTP_REQ_TE
           
static java.lang.String HTTP_REQ_USER_AGENT
           
static java.lang.String HTTP_RES_ACCEPT_RANGE
           
static java.lang.String HTTP_RES_AGE
           
static java.lang.String HTTP_RES_ETAG
           
static java.lang.String HTTP_RES_LOCATION
           
static java.lang.String HTTP_RES_PROXY_AUTHENTICATE
           
static java.lang.String HTTP_RES_RETRY_AFTER
           
static java.lang.String HTTP_RES_SERVER
           
static java.lang.String HTTP_RES_VARY
           
static java.lang.String HTTP_RES_WWW_AUTHENTICATE
           
 
Constructor Summary
HTTPConstants()
           
 
Method Summary
static void deb(java.lang.String str)
          deb method performs
static java.lang.String[] parseHeader(java.lang.String line)
          parseHeader method performs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_CODE_CONTINUE

public static final int HTTP_CODE_CONTINUE
Describe constant HTTP_CODE_CONTINUE here.

HTTP_CODE_SWITCHING_PROTOCOL

public static final int HTTP_CODE_SWITCHING_PROTOCOL
Describe constant HTTP_CODE_SWITCHING_PROTOCOL here.

HTTP_CODE_OK

public static final int HTTP_CODE_OK
constant HTTP_CODE_OK contains value of

HTTP_CODE_CREATED

public static final int HTTP_CODE_CREATED
constant HTTP_CODE_CREATED contains value of

HTTP_CODE_ACCEPTED

public static final int HTTP_CODE_ACCEPTED
constant HTTP_CODE_ACCEPTED contains value of

HTTP_CODE_NON_AUTHORITATIVE_INFO

public static final int HTTP_CODE_NON_AUTHORITATIVE_INFO
constant HTTP_CODE_NON_AUTHORITATIVE_INFO contains value of

HTTP_CODE_NO_CONTENT

public static final int HTTP_CODE_NO_CONTENT
constant HTTP_CODE_NO_CONTENT contains value of

HTTP_CODE_RESET_CONTENT

public static final int HTTP_CODE_RESET_CONTENT
constant HTTP_CODE_RESET_CONTENT contains value of

HTTP_CODE_PARTIAL_CONTENT

public static final int HTTP_CODE_PARTIAL_CONTENT
constant HTTP_CODE_PARTIAL_CONTENT contains value of

HTTP_CODE_MULTIPLE_CHOICES

public static final int HTTP_CODE_MULTIPLE_CHOICES
constant HTTP_CODE_MULTIPLE_CHOICES contains value of

HTTP_CODE_MOVED_PERMANENTLY

public static final int HTTP_CODE_MOVED_PERMANENTLY
constant HTTP_CODE_MOVED_PERMANENTLY contains value of

HTTP_CODE_FOUND

public static final int HTTP_CODE_FOUND
constant HTTP_CODE_FOUND contains value of

HTTP_CODE_SEE_OTHER

public static final int HTTP_CODE_SEE_OTHER
constant HTTP_CODE_SEE_OTHER contains value of

HTTP_CODE_NOT_MODIFIED

public static final int HTTP_CODE_NOT_MODIFIED
constant HTTP_CODE_NOT_MODIFIED contains value of

HTTP_CODE_USE_PROXY

public static final int HTTP_CODE_USE_PROXY
constant HTTP_CODE_USE_PROXY contains value of

HTTP_CODE_TEMPORARY_REDIRECT

public static final int HTTP_CODE_TEMPORARY_REDIRECT
constant HTTP_CODE_TEMPORARY_REDIRECT contains value of

HTTP_CODE_BAD_REQUEST

public static final int HTTP_CODE_BAD_REQUEST

HTTP_CODE_UNAUTHORIZED

public static final int HTTP_CODE_UNAUTHORIZED

HTTP_CODE_PAYMENT_REQUIRED

public static final int HTTP_CODE_PAYMENT_REQUIRED

HTTP_CODE_FORBIDDEN

public static final int HTTP_CODE_FORBIDDEN

HTTP_CODE_NOT_FOUND

public static final int HTTP_CODE_NOT_FOUND

HTTP_CODE_METHOD_NOT_ALLOWED

public static final int HTTP_CODE_METHOD_NOT_ALLOWED

HTTP_CODE_NOT_ACCEPTABLE

public static final int HTTP_CODE_NOT_ACCEPTABLE

HTTP_CODE_PROXY_AUTHENTICATION_REQUIRED

public static final int HTTP_CODE_PROXY_AUTHENTICATION_REQUIRED

HTTP_CODE_REQUEST_TIMEOUT

public static final int HTTP_CODE_REQUEST_TIMEOUT

HTTP_CODE_CONFLICT

public static final int HTTP_CODE_CONFLICT

HTTP_CODE_GONE

public static final int HTTP_CODE_GONE

HTTP_CODE_LENGTH_REQUIRED

public static final int HTTP_CODE_LENGTH_REQUIRED

HTTP_CODE_PRECONDITION_FAILED

public static final int HTTP_CODE_PRECONDITION_FAILED

HTTP_CODE_REQUEST_ENTITY_TOO_LARGE

public static final int HTTP_CODE_REQUEST_ENTITY_TOO_LARGE

HTTP_CODE_REQUEST_URI_TOO_LARGE

public static final int HTTP_CODE_REQUEST_URI_TOO_LARGE

HTTP_CODE_UNSUPPORTED_MEDIA_TYPE

public static final int HTTP_CODE_UNSUPPORTED_MEDIA_TYPE

HTTP_CODE_REQUEST_RANGE_NOT_SATISFIABLE

public static final int HTTP_CODE_REQUEST_RANGE_NOT_SATISFIABLE

HTTP_CODE_EXPECTATION_FAILED

public static final int HTTP_CODE_EXPECTATION_FAILED

HTTP_CODE_INTERNAL_SERVER_ERROR

public static final int HTTP_CODE_INTERNAL_SERVER_ERROR

HTTP_CODE_NOT_IMPLEMENTED

public static final int HTTP_CODE_NOT_IMPLEMENTED

HTTP_CODE_BAD_GATEWAY

public static final int HTTP_CODE_BAD_GATEWAY

HTTP_CODE_SERVICE_UNAVAILABLE

public static final int HTTP_CODE_SERVICE_UNAVAILABLE

HTTP_CODE_GATEWAY_TIMEOUT

public static final int HTTP_CODE_GATEWAY_TIMEOUT

HTTP_CODE_HTTP_VERSION_NOT_SUPPORTED

public static final int HTTP_CODE_HTTP_VERSION_NOT_SUPPORTED

HTTP_METHOD_OPTIONS

public static final java.lang.String HTTP_METHOD_OPTIONS

HTTP_METHOD_GET

public static final java.lang.String HTTP_METHOD_GET

HTTP_METHOD_HEAD

public static final java.lang.String HTTP_METHOD_HEAD

HTTP_METHOD_POST

public static final java.lang.String HTTP_METHOD_POST

HTTP_METHOD_PUT

public static final java.lang.String HTTP_METHOD_PUT

HTTP_METHOD_DELETE

public static final java.lang.String HTTP_METHOD_DELETE

HTTP_METHOD_TRACE

public static final java.lang.String HTTP_METHOD_TRACE

HTTP_METHOD_CONNECT

public static final java.lang.String HTTP_METHOD_CONNECT

HTTP_REQ_ACCEPT

public static final java.lang.String HTTP_REQ_ACCEPT

HTTP_REQ_ACCEPT_CHARSET

public static final java.lang.String HTTP_REQ_ACCEPT_CHARSET

HTTP_REQ_ACCEPT_ENCODING

public static final java.lang.String HTTP_REQ_ACCEPT_ENCODING

HTTP_REQ_ACCEPT_LANGUAGE

public static final java.lang.String HTTP_REQ_ACCEPT_LANGUAGE

HTTP_REQ_AUTHORIZATION

public static final java.lang.String HTTP_REQ_AUTHORIZATION

HTTP_REQ_EXPECT

public static final java.lang.String HTTP_REQ_EXPECT

HTTP_REQ_FROM

public static final java.lang.String HTTP_REQ_FROM

HTTP_REQ_HOST

public static final java.lang.String HTTP_REQ_HOST

HTTP_REQ_IF_MATCH

public static final java.lang.String HTTP_REQ_IF_MATCH

HTTP_REQ_IF_MODIFIED_SINCE

public static final java.lang.String HTTP_REQ_IF_MODIFIED_SINCE

HTTP_REQ_IF_NONE_MATCH

public static final java.lang.String HTTP_REQ_IF_NONE_MATCH

HTTP_REQ_IF_RANGE

public static final java.lang.String HTTP_REQ_IF_RANGE

HTTP_REQ_IF_UNMODIFIED_SINCE

public static final java.lang.String HTTP_REQ_IF_UNMODIFIED_SINCE

HTTP_REQ_MAX_FORWARDS

public static final java.lang.String HTTP_REQ_MAX_FORWARDS

HTTP_REQ_PROXY_AUTHORIZATION

public static final java.lang.String HTTP_REQ_PROXY_AUTHORIZATION

HTTP_REQ_RANGE

public static final java.lang.String HTTP_REQ_RANGE

HTTP_REQ_REFERER

public static final java.lang.String HTTP_REQ_REFERER

HTTP_REQ_TE

public static final java.lang.String HTTP_REQ_TE

HTTP_REQ_USER_AGENT

public static final java.lang.String HTTP_REQ_USER_AGENT

HTTP_RES_ACCEPT_RANGE

public static final java.lang.String HTTP_RES_ACCEPT_RANGE

HTTP_RES_AGE

public static final java.lang.String HTTP_RES_AGE

HTTP_RES_ETAG

public static final java.lang.String HTTP_RES_ETAG

HTTP_RES_LOCATION

public static final java.lang.String HTTP_RES_LOCATION

HTTP_RES_PROXY_AUTHENTICATE

public static final java.lang.String HTTP_RES_PROXY_AUTHENTICATE

HTTP_RES_RETRY_AFTER

public static final java.lang.String HTTP_RES_RETRY_AFTER

HTTP_RES_SERVER

public static final java.lang.String HTTP_RES_SERVER

HTTP_RES_VARY

public static final java.lang.String HTTP_RES_VARY

HTTP_RES_WWW_AUTHENTICATE

public static final java.lang.String HTTP_RES_WWW_AUTHENTICATE

HTTP_ENTITY_ALLOW

public static final java.lang.String HTTP_ENTITY_ALLOW

HTTP_ENTITY_CONTENT_ENCODING

public static final java.lang.String HTTP_ENTITY_CONTENT_ENCODING

HTTP_ENTITY_CONTENT_LANGUAGE

public static final java.lang.String HTTP_ENTITY_CONTENT_LANGUAGE

HTTP_ENTITY_CONTENT_LENGTH

public static final java.lang.String HTTP_ENTITY_CONTENT_LENGTH

HTTP_ENTITY_CONTENT_LOCATION

public static final java.lang.String HTTP_ENTITY_CONTENT_LOCATION

HTTP_ENTITY_CONTENT_MD5

public static final java.lang.String HTTP_ENTITY_CONTENT_MD5

HTTP_ENTITY_CONTENT_RANGE

public static final java.lang.String HTTP_ENTITY_CONTENT_RANGE

HTTP_ENTITY_CONTENT_TYPE

public static final java.lang.String HTTP_ENTITY_CONTENT_TYPE

HTTP_ENTITY_EXPIRES

public static final java.lang.String HTTP_ENTITY_EXPIRES

HTTP_ENTITY_LAST_MODIFIED

public static final java.lang.String HTTP_ENTITY_LAST_MODIFIED

HTTP_ENTITY_TRANSFER_ENCODING

public static final java.lang.String HTTP_ENTITY_TRANSFER_ENCODING
Constructor Detail

HTTPConstants

public HTTPConstants()
Method Detail

parseHeader

public static java.lang.String[] parseHeader(java.lang.String line)
parseHeader method performs
Parameters:
line - a String value
Returns:
a String[] value

deb

public static void deb(java.lang.String str)
deb method performs
Parameters:
str - a String value


Copyright GNU, wttools developers Team.