public static enum HttpServerConfig.AuthorizationPolicy extends Enum<HttpServerConfig.AuthorizationPolicy>
| Enum Constant and Description |
|---|
ALLOW |
DEFAULT_ROLES |
DENY |
| Modifier and Type | Method and Description |
|---|---|
static HttpServerConfig.AuthorizationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpServerConfig.AuthorizationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpServerConfig.AuthorizationPolicy ALLOW
public static final HttpServerConfig.AuthorizationPolicy DENY
public static final HttpServerConfig.AuthorizationPolicy DEFAULT_ROLES
public static HttpServerConfig.AuthorizationPolicy[] values()
for (HttpServerConfig.AuthorizationPolicy c : HttpServerConfig.AuthorizationPolicy.values()) System.out.println(c);
public static HttpServerConfig.AuthorizationPolicy 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 © 2010–2024 Airlift. All rights reserved.