mx4j.tools.adaptor.http

Class HttpConstants


public class HttpConstants
extends java.lang.Object

Define constants for the HTTP request processing
Version:
$Revision: 1.3 $

Field Summary

static String
HTTP_VERSION
HTTP implemented version
static String
METHOD_GET
Get method header
static String
METHOD_POST
Post method header
static String
SERVER_INFO
Server info header
static int
STATUS_AUTHENTICATE
Status code AUTHENTICATE
static int
STATUS_BAD_REQUEST
Status code BAD REQUEST
static int
STATUS_FORBIDDEN
Status code FORBIDDEN
static int
STATUS_INTERNAL_ERROR
Status code INTERNAL ERROR
static int
STATUS_MOVED_PERMANENTLY
Status code MOVED PERMANENTLY
static int
STATUS_MOVED_TEMPORARILY
Status code MOVED TEMPORARILY
static int
STATUS_NOT_ALLOWED
Status code NOT ALLOWED
static int
STATUS_NOT_FOUND
Status code NOT FOUND
static int
STATUS_NOT_IMPLEMENTED
Status code NOT IMPLEMENTED
static int
STATUS_NO_CONTENT
Status code NO CONTENT
static int
STATUS_OKAY
Status code OK

Field Details

HTTP_VERSION

public static final String HTTP_VERSION
HTTP implemented version

METHOD_GET

public static final String METHOD_GET
Get method header

METHOD_POST

public static final String METHOD_POST
Post method header

SERVER_INFO

public static final String SERVER_INFO
Server info header

STATUS_AUTHENTICATE

public static final int STATUS_AUTHENTICATE
Status code AUTHENTICATE
Field Value:
401

STATUS_BAD_REQUEST

public static final int STATUS_BAD_REQUEST
Status code BAD REQUEST
Field Value:
400

STATUS_FORBIDDEN

public static final int STATUS_FORBIDDEN
Status code FORBIDDEN
Field Value:
403

STATUS_INTERNAL_ERROR

public static final int STATUS_INTERNAL_ERROR
Status code INTERNAL ERROR
Field Value:
500

STATUS_MOVED_PERMANENTLY

public static final int STATUS_MOVED_PERMANENTLY
Status code MOVED PERMANENTLY
Field Value:
301

STATUS_MOVED_TEMPORARILY

public static final int STATUS_MOVED_TEMPORARILY
Status code MOVED TEMPORARILY
Field Value:
302

STATUS_NOT_ALLOWED

public static final int STATUS_NOT_ALLOWED
Status code NOT ALLOWED
Field Value:
405

STATUS_NOT_FOUND

public static final int STATUS_NOT_FOUND
Status code NOT FOUND
Field Value:
404

STATUS_NOT_IMPLEMENTED

public static final int STATUS_NOT_IMPLEMENTED
Status code NOT IMPLEMENTED
Field Value:
501

STATUS_NO_CONTENT

public static final int STATUS_NO_CONTENT
Status code NO CONTENT
Field Value:
204

STATUS_OKAY

public static final int STATUS_OKAY
Status code OK
Field Value:
200

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.