Package org.apache.sling.api.servlets
Class HttpConstants
java.lang.Object
org.apache.sling.api.servlets.HttpConstants
HTTP-related constants
This class is not intended to be extended or instantiated because it just provides constants not intended to be overwritten.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Accept header name.static final StringThe ETag header name.static final StringThe If-Match header name.static final StringThe If-Modified-Since header name.static final StringThe Last-Modified header name.static final StringThe HTTP CONNECT method.static final StringThe HTTP DELETE method.static final StringThe HTTP GET method.static final StringThe HTTP HEAD method.static final StringThe HTTP OPTIONS method.static final StringThe HTTP POST method.static final StringThe HTTP PUT method.static final StringThe HTTP TRACE method. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
METHOD_OPTIONS
The HTTP OPTIONS method.- See Also:
-
METHOD_GET
The HTTP GET method.- See Also:
-
METHOD_HEAD
The HTTP HEAD method.- See Also:
-
METHOD_POST
The HTTP POST method.- See Also:
-
METHOD_PUT
The HTTP PUT method.- See Also:
-
METHOD_DELETE
The HTTP DELETE method.- See Also:
-
METHOD_TRACE
The HTTP TRACE method.- See Also:
-
METHOD_CONNECT
The HTTP CONNECT method.- See Also:
-
HEADER_ACCEPT
The Accept header name.- See Also:
-
HEADER_ETAG
The ETag header name.- See Also:
-
HEADER_IF_MATCH
The If-Match header name.- See Also:
-
HEADER_IF_MODIFIED_SINCE
The If-Modified-Since header name.- See Also:
-
HEADER_LAST_MODIFIED
The Last-Modified header name.- See Also:
-
-
Constructor Details
-
HttpConstants
public HttpConstants()Creates an instance. Use the static constants directly instead.
-