public enum CoapRequestType extends Enum<CoapRequestType>
| Enum Constant and Description |
|---|
CONFIRMABLE |
DEFAULT |
NON_CONFIRMABLE |
| Modifier and Type | Method and Description |
|---|---|
static CoapRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoapRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoapRequestType DEFAULT
public static final CoapRequestType CONFIRMABLE
public static final CoapRequestType NON_CONFIRMABLE
public static CoapRequestType[] values()
for (CoapRequestType c : CoapRequestType.values()) System.out.println(c);
public static CoapRequestType 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 nullCopyright © 2019–2025 Teslanet.nl. All rights reserved.