public static enum RestArgument.REST_ROOT_FIELD extends Enum<RestArgument.REST_ROOT_FIELD>
Enum Constant and Description |
---|
ARG_BASEPATH
arguments.path(ARG_BASEPATH).asText() = uri base path
|
ARG_HASBODY
arguments.path(ARG_HASBODY).asBoolean() = true if the body has
content
|
ARG_METHOD
arguments.path(ARG_METHOD).asText() = method identified
|
ARG_PATH
arguments.path(ARG_PATH) = uri path
|
ARG_X_AUTH_INTERNALKEY
Internal Key used (not to be passed through wire)
|
ARG_X_AUTH_KEY
arguments.path(ARG_X_AUTH_KEY).asText() = Key used
|
ARG_X_AUTH_ROLE
arguments.path(ARG_X_AUTH_ROLE).asInt() = Role used
|
ARG_X_AUTH_TIMESTAMP
arguments.path(ARG_X_AUTH_TIMESTAMP).asText() = Timestamp in ISO 8601
format
|
ARG_X_AUTH_USER
arguments.path(ARG_X_AUTH_KEY).asText() = Key used
|
ARGS_SUBPATH
arguments.path(ARGS_SUBPATH) main entry for SUB-PATH arguments
arguments.path(ARGS_SUBPATH).elements() for an iterator or .get(x) for xth SUB-PATH argument |
JSON_COMMAND |
JSON_DETAIL |
JSON_STATUSCODE |
JSON_STATUSMESSAGE |
Modifier and Type | Method and Description |
---|---|
static RestArgument.REST_ROOT_FIELD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestArgument.REST_ROOT_FIELD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestArgument.REST_ROOT_FIELD ARG_PATH
public static final RestArgument.REST_ROOT_FIELD ARG_BASEPATH
public static final RestArgument.REST_ROOT_FIELD ARGS_SUBPATH
public static final RestArgument.REST_ROOT_FIELD ARG_METHOD
public static final RestArgument.REST_ROOT_FIELD ARG_HASBODY
public static final RestArgument.REST_ROOT_FIELD ARG_X_AUTH_KEY
public static final RestArgument.REST_ROOT_FIELD ARG_X_AUTH_USER
public static final RestArgument.REST_ROOT_FIELD ARG_X_AUTH_INTERNALKEY
public static final RestArgument.REST_ROOT_FIELD ARG_X_AUTH_TIMESTAMP
public static final RestArgument.REST_ROOT_FIELD ARG_X_AUTH_ROLE
public static final RestArgument.REST_ROOT_FIELD JSON_STATUSCODE
public static final RestArgument.REST_ROOT_FIELD JSON_STATUSMESSAGE
public static final RestArgument.REST_ROOT_FIELD JSON_COMMAND
public static final RestArgument.REST_ROOT_FIELD JSON_DETAIL
public final String field
public static RestArgument.REST_ROOT_FIELD[] values()
for (RestArgument.REST_ROOT_FIELD c : RestArgument.REST_ROOT_FIELD.values()) System.out.println(c);
public static RestArgument.REST_ROOT_FIELD 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 nullCopyright © 2009–2020 Waarp. All rights reserved.