org.tranche.httpd
Class HttpConstant
java.lang.Object
org.tranche.httpd.HttpConstant
public final class HttpConstant
- extends java.lang.Object
HTTP ontologies are wrappered as HTTPConstants. Because these are immutable and
defined by the protocol this class is declared and made final and the constructor is private.
- Author:
- TPapoulias
|
Method Summary |
java.lang.String |
getName()
Getter for the name of this constant |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_OPTIONS
public static final HttpConstant METHOD_OPTIONS
METHOD_GET
public static final HttpConstant METHOD_GET
METHOD_POST
public static final HttpConstant METHOD_POST
METHOD_PUT
public static final HttpConstant METHOD_PUT
METHOD_DELETE
public static final HttpConstant METHOD_DELETE
METHOD_TRACE
public static final HttpConstant METHOD_TRACE
METHOD_CONNECT
public static final HttpConstant METHOD_CONNECT
HTTP_VERSION
public static final HttpConstant HTTP_VERSION
SEPARATOR
public static final HttpConstant SEPARATOR
PARAM_VALUE_SEPARATOR
public static final HttpConstant PARAM_VALUE_SEPARATOR
CONTENT_TYPE
public static final HttpConstant CONTENT_TYPE
CONTENT_LENGTH
public static final HttpConstant CONTENT_LENGTH
CONTENT_TYPE_TEXT_HTML
public static final HttpConstant CONTENT_TYPE_TEXT_HTML
CONTENT_TYPE_JNLP
public static final HttpConstant CONTENT_TYPE_JNLP
STATUS_OK
public static final HttpConstant STATUS_OK
STATUS_REQUEST_TIMEOUT
public static final HttpConstant STATUS_REQUEST_TIMEOUT
SERVICE_UNAVAILABLE
public static final HttpConstant SERVICE_UNAVAILABLE
ERROR_INVALID_METHOD
public static final HttpConstant ERROR_INVALID_METHOD
ERROR_FILE_NOT_FOUND
public static final HttpConstant ERROR_FILE_NOT_FOUND
ERROR_REQUEST_NOT_UNDERSTOOD
public static final HttpConstant ERROR_REQUEST_NOT_UNDERSTOOD
DEFAULT_HOME_PAGE
public static final HttpConstant DEFAULT_HOME_PAGE
getName
public final java.lang.String getName()
- Getter for the name of this constant
- Returns:
This code is free for use both commercially and non-commercially as stated in the project's license