public static enum Endpoint.Scheme extends java.lang.Enum<Endpoint.Scheme>
The scheme defines the protocol used to access the endpoint
At the moment we support HTTP only
Enum Constant and Description |
---|
HTTP |
Modifier and Type | Method and Description |
---|---|
static Endpoint.Scheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Endpoint.Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endpoint.Scheme HTTP
public static Endpoint.Scheme[] values()
for (Endpoint.Scheme c : Endpoint.Scheme.values()) System.out.println(c);
public static Endpoint.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 © 2014–2017 ActFramework. All rights reserved.