public static enum CacheBehavior.ViewerProtocolPolicy extends java.lang.Enum<CacheBehavior.ViewerProtocolPolicy>
Enum Constant and Description |
---|
ALLOW_ALL |
HTTPS_ONLY |
REDIRECT_TO_HTTPS |
Modifier and Type | Method and Description |
---|---|
static CacheBehavior.ViewerProtocolPolicy |
fromText(java.lang.String text) |
java.lang.String |
toText() |
static CacheBehavior.ViewerProtocolPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheBehavior.ViewerProtocolPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheBehavior.ViewerProtocolPolicy HTTPS_ONLY
public static final CacheBehavior.ViewerProtocolPolicy ALLOW_ALL
public static final CacheBehavior.ViewerProtocolPolicy REDIRECT_TO_HTTPS
public static CacheBehavior.ViewerProtocolPolicy[] values()
for (CacheBehavior.ViewerProtocolPolicy c : CacheBehavior.ViewerProtocolPolicy.values()) System.out.println(c);
public static CacheBehavior.ViewerProtocolPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toText()
public static CacheBehavior.ViewerProtocolPolicy fromText(java.lang.String text)