public static enum CacheBehavior.ViewerProtocolPolicy extends Enum<CacheBehavior.ViewerProtocolPolicy>
Enum Constant and Description |
---|
ALLOW_ALL |
HTTPS_ONLY |
REDIRECT_TO_HTTPS |
Modifier and Type | Method and Description |
---|---|
static CacheBehavior.ViewerProtocolPolicy |
fromText(String text) |
String |
toText() |
static CacheBehavior.ViewerProtocolPolicy |
valueOf(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(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 CacheBehavior.ViewerProtocolPolicy fromText(String text)
Copyright © 2006–2018. All rights reserved.