public static enum Context.RequestContentType extends Enum<Context.RequestContentType>
Tokens.ARGS_GREMLIN
.Enum Constant and Description |
---|
BYTECODE
Contents is of type
Bytecode . |
SCRIPT
Contents is of type
String . |
UNKNOWN
Contents are not of a type that is expected.
|
Modifier and Type | Method and Description |
---|---|
static Context.RequestContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.RequestContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.RequestContentType BYTECODE
Bytecode
.public static final Context.RequestContentType SCRIPT
String
.public static final Context.RequestContentType UNKNOWN
public static Context.RequestContentType[] values()
for (Context.RequestContentType c : Context.RequestContentType.values()) System.out.println(c);
public static Context.RequestContentType 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 © 2013–2022 Apache Software Foundation. All rights reserved.