public enum VitamHttpHeader extends Enum<VitamHttpHeader>
Enum Constant and Description |
---|
APPLICATION_ID
The X_APPLICATION_ID header, used in requests to specify external Application Session Id
|
CONTEXT_ID
The CONTEXT_ID header, used in POST and PUT requests to ask for a particular workflow execution context
stepBuStep or not
|
METHOD_OVERRIDE
The X-Http-Method-Override header, used in requests to handle unsupported Http methods with body
|
OFFERS_IDS
The X_OFFER_IDS header, used in HEAD requests to give list of offer id
|
QUALIFIER
The X-Qualifier header, used to get an object
|
STRATEGY_ID
The X_STRATEGY_ID header, used in HEAD requests to ask for a particular strategy
|
TENANT_ID
The X_TENANT_ID header, used in requests to specify the used tenant
|
VERSION
The X-Version header, used to get an object
|
X_CONTENT_LENGTH
The X-Content-Length used to have object size (for storage)
|
X_DIGEST
The X_DIGEST used to have digest value (for storage)
|
X_DIGEST_ALGORITHM
The X_DIGEST_ALGORITHM used to have digest algrithm (for storage)
|
Modifier and Type | Method and Description |
---|---|
static VitamHttpHeader |
get(String headerName)
Get VitamHttpHeader from name
|
String |
getName()
Get the header name
|
String |
getRegExp()
Get the regular expression to validate header values
|
static VitamHttpHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VitamHttpHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VitamHttpHeader STRATEGY_ID
public static final VitamHttpHeader OFFERS_IDS
public static final VitamHttpHeader TENANT_ID
public static final VitamHttpHeader APPLICATION_ID
public static final VitamHttpHeader METHOD_OVERRIDE
public static final VitamHttpHeader QUALIFIER
public static final VitamHttpHeader VERSION
public static final VitamHttpHeader X_CONTENT_LENGTH
public static final VitamHttpHeader X_DIGEST
public static final VitamHttpHeader X_DIGEST_ALGORITHM
public static final VitamHttpHeader CONTEXT_ID
public static VitamHttpHeader[] values()
for (VitamHttpHeader c : VitamHttpHeader.values()) System.out.println(c);
public static VitamHttpHeader valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getRegExp()
public static VitamHttpHeader get(String headerName)
headerName
- the wanted header nameCopyright © 2018 Vitam. All rights reserved.