Maven module :un.protocol : protocol-http :
Class : un.protocol.http.HTTPConstants
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : METHOD_OPTIONS, METHOD_GET, METHOD_HEAD, METHOD_POST, METHOD_PUT, METHOD_DELETE, METHOD_TRACE, METHOD_CONNECT, STATUS_100_CONTINUE, STATUS_101_SWITCH, STATUS_200_OK, STATUS_201_CREATED, STATUS_202_ACCEPTED, STATUS_203_NONAUTH_INFO, STATUS_204_NO_CONTENT, STATUS_205_RESET_CONTENT, STATUS_206_PARTIAL_CONTENT, STATUS_300_MULTIPLE_CHOICE, STATUS_301_MOVED, STATUS_302_FOUND, STATUS_303_SEE_OTHER, STATUS_304_NOT_MODIFIED, STATUS_305_USE_PROXY, STATUS_307_TEMP_REDIRECT, STATUS_400_BAD_REQUEST, STATUS_401_UNAUTH, STATUS_402_PAYMENT_REQUIRED, STATUS_403_FORBIDDEN, STATUS_404_NOT_FOUND, STATUS_405_METHOD_NOT_ALLOWED, STATUS_406_NOT_ACCEPTABLE, STATUS_407_PROXY_AUTH_REQUIRED, STATUS_408_TIMEOUT, STATUS_409_CONFLICT, STATUS_410_GONE, STATUS_411_LENGTH_REQUIRED, STATUS_412_PRECONDITION_FAILED, STATUS_413_ENTITY_TOO_LARGE, STATUS_414_URI_TOO_LARGE, STATUS_415_UNSUP_MEDIA_TYPE, STATUS_416_REQ_RANGE_NOT_SAT, STATUS_417_EXPECTED_FAILED, STATUS_500_INTERNAL_ERROR, STATUS_501_NOT_IMPLEMENTED, STATUS_502_BAD_GATEWAY, STATUS_503_SERVICE_UNAVAILABLE, STATUS_504_GATEWAY_TIMEOUT, STATUS_505_UNSUPPORTED_VERSION, CONTENT_CODING_GZIP, CONTENT_CODING_COMPRESS, CONTENT_CODING_DEFLATE, CONTENT_CODING_IDENTITY, PROPERTY_HOST, PROPERTY_REFERER, PROPERTY_USERAGENT, CRLF
Functions : -


public Chars METHOD_OPTIONS

public Chars METHOD_GET

public Chars METHOD_HEAD

public Chars METHOD_POST

public Chars METHOD_PUT

public Chars METHOD_DELETE

public Chars METHOD_TRACE

public Chars METHOD_CONNECT


RFC:2616 Section 10.1.1: Continue */
public int STATUS_100_CONTINUE


RFC:2616 Section 10.1.2: Switching Protocols */
public int STATUS_101_SWITCH


RFC:2616 Section 10.2.1: OK */
public int STATUS_200_OK


RFC:2616 Section 10.2.2: Created */
public int STATUS_201_CREATED


RFC:2616 Section 10.2.3: Accepted */
public int STATUS_202_ACCEPTED


RFC:2616 Section 10.2.4: Non-Authoritative Information */
public int STATUS_203_NONAUTH_INFO


RFC:2616 Section 10.2.5: No Content */
public int STATUS_204_NO_CONTENT


RFC:2616 Section 10.2.6: Reset Content */
public int STATUS_205_RESET_CONTENT


RFC:2616 Section 10.2.7: Partial Content */
public int STATUS_206_PARTIAL_CONTENT


RFC:2616 Section 10.3.1: Multiple Choices */
public int STATUS_300_MULTIPLE_CHOICE


RFC:2616 Section 10.3.2: Moved Permanently */
public int STATUS_301_MOVED


RFC:2616 Section 10.3.3: Found */
public int STATUS_302_FOUND


RFC:2616 Section 10.3.4: See Other */
public int STATUS_303_SEE_OTHER


RFC:2616 Section 10.3.5: Not Modified */
public int STATUS_304_NOT_MODIFIED


RFC:2616 Section 10.3.6: Use Proxy */
public int STATUS_305_USE_PROXY


RFC:2616 Section 10.3.8: Temporary Redirect */
public int STATUS_307_TEMP_REDIRECT


RFC:2616 Section 10.4.1: Bad Request */
public int STATUS_400_BAD_REQUEST


RFC:2616 Section 10.4.2: Unauthorized */
public int STATUS_401_UNAUTH


RFC:2616 Section 10.4.3: Payment Required */
public int STATUS_402_PAYMENT_REQUIRED


RFC:2616 Section 10.4.4: Forbidden */
public int STATUS_403_FORBIDDEN


RFC:2616 Section 10.4.5: Not Found */
public int STATUS_404_NOT_FOUND


RFC:2616 Section 10.4.6: Method Not Allowed */
public int STATUS_405_METHOD_NOT_ALLOWED


RFC:2616 Section 10.4.7: Not Acceptable */
public int STATUS_406_NOT_ACCEPTABLE


RFC:2616 Section 10.4.8: Proxy Authentication Required */
public int STATUS_407_PROXY_AUTH_REQUIRED


RFC:2616 Section 10.4.9: Request Time-out */
public int STATUS_408_TIMEOUT


RFC:2616 Section 10.4.10: Conflict */
public int STATUS_409_CONFLICT


RFC:2616 Section 10.4.11: Gone */
public int STATUS_410_GONE


RFC:2616 Section 10.4.12: Length Required */
public int STATUS_411_LENGTH_REQUIRED


RFC:2616 Section 10.4.13: Precondition Failed */
public int STATUS_412_PRECONDITION_FAILED


RFC:2616 Section 10.4.14: Request Entity Too Large */
public int STATUS_413_ENTITY_TOO_LARGE


RFC:2616 Section 10.4.15: Request-URI Too Large */
public int STATUS_414_URI_TOO_LARGE


RFC:2616 Section 10.4.16: Unsupported Media Type */
public int STATUS_415_UNSUP_MEDIA_TYPE


RFC:2616 Section 10.4.17: Requested range not satisfiable */
public int STATUS_416_REQ_RANGE_NOT_SAT


RFC:2616 Section 10.4.18: Expectation Failed */
public int STATUS_417_EXPECTED_FAILED


RFC:2616 Section 10.5.1: Internal Server Error */
public int STATUS_500_INTERNAL_ERROR


RFC:2616 Section 10.5.2: Not Implemented */
public int STATUS_501_NOT_IMPLEMENTED


RFC:2616 Section 10.5.3: Bad Gateway */
public int STATUS_502_BAD_GATEWAY


RFC:2616 Section 10.5.4: Service Unavailable */
public int STATUS_503_SERVICE_UNAVAILABLE


RFC:2616 Section 10.5.5: Gateway Time-out */
public int STATUS_504_GATEWAY_TIMEOUT


RFC:2616 Section 10.5.6: HTTP Version not supported */
public int STATUS_505_UNSUPPORTED_VERSION


An encoding format produced by the file compression program
"gzip" (GNU zip) as described in RFC 1952 [25].
This format is a Lempel-Ziv coding (LZ77) with a 32 bit CRC.
public Chars CONTENT_CODING_GZIP


The encoding format produced by the common UNIX file compression
program "compress". This format is an adaptive Lempel-Ziv-Welch
coding (LZW).

Use of program names for the identification of encoding formats
is not desirable and is discouraged for future encodings. Their
use here is representative of historical practice, not good
design. For compatibility with previous implementations of HTTP,
applications SHOULD consider "x-gzip" and "x-compress" to be
equivalent to "gzip" and "compress" respectively.
public Chars CONTENT_CODING_COMPRESS


The "zlib" format defined in RFC 1950 [31] in combination with
the "deflate" compression mechanism described in RFC 1951 [29].
public Chars CONTENT_CODING_DEFLATE


The default (identity) encoding; the use of no transformation
whatsoever. This content-coding is used only in the Accept-
Encoding header, and SHOULD NOT be used in the Content-Encoding
header.
public Chars CONTENT_CODING_IDENTITY

public Chars PROPERTY_HOST

public Chars PROPERTY_REFERER

public Chars PROPERTY_USERAGENT


CariageReturn(13) + NewLine(10).
public Chars CRLF