java.io.Serializable
, java.lang.Comparable<Request.Scheme>
public static enum Request.Scheme extends java.lang.Enum<Request.Scheme>
Modifier and Type | Method | Description |
---|---|---|
static Request.Scheme |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Request.Scheme[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Scheme HTTP
public static final Request.Scheme HTTPS
public static Request.Scheme[] values()
for (Request.Scheme c : Request.Scheme.values()) System.out.println(c);
public static Request.Scheme 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 nullCopyright © 2018. All rights reserved.