public static enum FCGI.Role extends Enum<FCGI.Role>
Enum Constant and Description |
---|
AUTHORIZER |
FILTER |
RESPONDER |
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static FCGI.Role |
from(int code) |
static FCGI.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FCGI.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FCGI.Role RESPONDER
public static final FCGI.Role AUTHORIZER
public static final FCGI.Role FILTER
public static FCGI.Role[] values()
for (FCGI.Role c : FCGI.Role.values()) System.out.println(c);
public static FCGI.Role 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 nullpublic static FCGI.Role from(int code)
Copyright © 1995-2015 Webtide. All Rights Reserved.