public enum SASProtocol extends java.lang.Enum<SASProtocol>
Enum Constant and Description |
---|
HTTPS_HTTP
Permission to use SAS only through https or http granted.
|
HTTPS_ONLY
Permission to use SAS only through https granted.
|
Modifier and Type | Method and Description |
---|---|
static SASProtocol |
parse(java.lang.String str)
Parses a
String into a SASProtocl value if possible. |
java.lang.String |
toString() |
static SASProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SASProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SASProtocol HTTPS_ONLY
public static final SASProtocol HTTPS_HTTP
public static SASProtocol[] values()
for (SASProtocol c : SASProtocol.values()) System.out.println(c);
public static SASProtocol 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 toString()
toString
in class java.lang.Enum<SASProtocol>
public static SASProtocol parse(java.lang.String str)
String
into a SASProtocl
value if possible.str
- The value to try to parse.SASProtocol
value that represents the string if possible.