public enum IhmWebAppHeader extends Enum<IhmWebAppHeader>
Enum Constant and Description |
---|
COOKIE
The COOKIE header, used to get an object
|
LIMIT
The X_LIMIT header, used to get an object
|
OFFSET
The X_OFFSET header, used to get an object
|
REQUEST_ID
The X_REQUEST_ID header, used to get an object
|
TOTAL
The X_TOTAL header, used to get an object
|
Modifier and Type | Method and Description |
---|---|
static IhmWebAppHeader |
get(String headerName)
Get VitamHttpHeader from name
|
String |
getName()
Get the header name
|
String |
getRegExp()
Get the regular expression to validate header values
|
static IhmWebAppHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IhmWebAppHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IhmWebAppHeader LIMIT
public static final IhmWebAppHeader OFFSET
public static final IhmWebAppHeader TOTAL
public static final IhmWebAppHeader REQUEST_ID
public static final IhmWebAppHeader COOKIE
public static IhmWebAppHeader[] values()
for (IhmWebAppHeader c : IhmWebAppHeader.values()) System.out.println(c);
public static IhmWebAppHeader 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 IhmWebAppHeader get(String headerName)
headerName
- the wanted header nameCopyright © 2018 Vitam. All rights reserved.