public enum HttpRequestType extends Enum<HttpRequestType>
| Modifier and Type | Method and Description |
|---|---|
static HttpRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRequestType HTTP
public static final HttpRequestType WEBSOCKET
public static final HttpRequestType UPGRADE
public static HttpRequestType[] values()
for (HttpRequestType c : HttpRequestType.values()) System.out.println(c);
public static HttpRequestType 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 © 2020 Voovan. All rights reserved.