public static enum CustomOrigin.OriginProtocolPolicy extends Enum<CustomOrigin.OriginProtocolPolicy>
Enum Constant and Description |
---|
HTTP_ONLY |
MATCH_VIEWER |
Modifier and Type | Method and Description |
---|---|
static CustomOrigin.OriginProtocolPolicy |
fromText(String text) |
String |
toText() |
static CustomOrigin.OriginProtocolPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomOrigin.OriginProtocolPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomOrigin.OriginProtocolPolicy HTTP_ONLY
public static final CustomOrigin.OriginProtocolPolicy MATCH_VIEWER
public static CustomOrigin.OriginProtocolPolicy[] values()
for (CustomOrigin.OriginProtocolPolicy c : CustomOrigin.OriginProtocolPolicy.values()) System.out.println(c);
public static CustomOrigin.OriginProtocolPolicy 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 toText()
public static CustomOrigin.OriginProtocolPolicy fromText(String text)
Copyright © 2006–2018. All rights reserved.