public final class HttpConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT_DATETIME
The name of the HTTP request header used for Memento datetime negotiation.
|
static String |
ACCEPT_PATCH
The name of the HTTP response header used to indicate the acceptable formats for PATCH requests.
|
static String |
ACCEPT_POST
The name of the HTTP response header used to indicate the acceptable RDF formats in POST requests.
|
static String |
ACCEPT_RANGES
The name of the HTTP response header used to indicate the acceptable forms of range requests.
|
static String |
ACL
The ext parameter for ACL resources.
|
static String |
ACL_QUERY_PARAM
The query parameter for ACL resources.
|
static String |
APPLICATION_LINK_FORMAT
The default Memento TimeMap output format.
|
static String |
CONFIG_HTTP_BASE_URL
Configuration key defining the server's base URL.
|
static String |
CONFIG_HTTP_EXTENSION_GRAPHS
Configuration key defining the extension graph mapping.
|
static String |
CONFIG_HTTP_JSONLD_PROFILE
Configuration key defining the default JSON-LD profile.
|
static String |
CONFIG_HTTP_MEMENTO_HEADER_DATES
Configuration key defining whether to include dates in memento headers.
|
static String |
CONFIG_HTTP_PATCH_CREATE
Configuration key defining whether PATCH requests can create resources.
|
static String |
CONFIG_HTTP_PRECONDITION_REQUIRED
Configuration key defining whether to require precondition headers for PUT operations.
|
static String |
CONFIG_HTTP_PUT_UNCONTAINED
Configuration key defining whether PUT-on-create generates contained or uncontained resources.
|
static String |
CONFIG_HTTP_WEAK_ETAG
Configuration key defining whether to use weak ETags for RDF responses.
|
static String |
DATETIME
The Memento link parameter to indicate the datetime of a Memento.
|
static Set<IRI> |
DEFAULT_REPRESENTATION
The implied or default set of IRIs used with a Prefer header.
|
static String |
DESCRIPTION
The Trellis ext parameter value used for accessing the description of an LDP-NR.
|
static String |
EXT
The Trellis query parameter for extended features of a given resource.
|
static String |
FROM
The Memento link parameter indicating the beginning range of a TimeMap.
|
static String |
MEMENTO
The Memento link relation for mementos.
|
static String |
MEMENTO_DATETIME
The name of the HTTP response header used to indicate the date of a Memento resource.
|
static String |
ORIGINAL
The Memento link relation for original resources.
|
static String |
PATCH
The name of the HTTP verb used to update resources.
|
static int |
PRECONDITION_REQUIRED
The name of the HTTP response code for a Precondition Required error.
|
static String |
PREFER
The name of the HTTP request header used to influence what information is included in responses.
|
static String |
PREFERENCE_APPLIED
The name of the HTTP response header used to indicate how the Prefer header was applied.
|
static String |
RANGE
The name of the HTTP request header used to make range requests.
|
static String |
SLUG
The name of the HTTP request header used to indicate the desired name for a new resource.
|
static String |
TIMEGATE
The Memento link relation for TimeGate resources.
|
static String |
TIMEMAP
The Memento link relation for TimeMap resources.
|
static String |
UNTIL
The Memento link parameter indicating the ending range of a TimeMap.
|
public static final String ACCEPT_DATETIME
public static final String ACCEPT_PATCH
public static final String ACCEPT_POST
public static final String ACCEPT_RANGES
public static final String ACL
public static final String ACL_QUERY_PARAM
public static final String APPLICATION_LINK_FORMAT
public static final String CONFIG_HTTP_BASE_URL
public static final String CONFIG_HTTP_EXTENSION_GRAPHS
public static final String CONFIG_HTTP_MEMENTO_HEADER_DATES
public static final String CONFIG_HTTP_WEAK_ETAG
public static final String CONFIG_HTTP_JSONLD_PROFILE
public static final String CONFIG_HTTP_PRECONDITION_REQUIRED
public static final String CONFIG_HTTP_PATCH_CREATE
public static final String CONFIG_HTTP_PUT_UNCONTAINED
public static final String EXT
public static final String DATETIME
public static final String DESCRIPTION
public static final String FROM
public static final String MEMENTO
public static final String MEMENTO_DATETIME
public static final String ORIGINAL
public static final String PATCH
public static final int PRECONDITION_REQUIRED
public static final String PREFER
public static final String PREFERENCE_APPLIED
public static final String RANGE
public static final String SLUG
public static final String TIMEGATE
public static final String TIMEMAP
public static final String UNTIL