public static enum RequestHandler.Result extends Enum<RequestHandler.Result>
| Enum Constant and Description |
|---|
Replied |
ReplyFailure |
ReplySuccess |
Unsupported |
| Modifier and Type | Field and Description |
|---|---|
static Set<RequestHandler.Result> |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static RequestHandler.Result |
fromName(String name) |
static RequestHandler.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestHandler.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestHandler.Result Unsupported
public static final RequestHandler.Result Replied
public static final RequestHandler.Result ReplySuccess
public static final RequestHandler.Result ReplyFailure
public static final Set<RequestHandler.Result> VALUES
public static RequestHandler.Result[] values()
for (RequestHandler.Result c : RequestHandler.Result.values()) System.out.println(c);
public static RequestHandler.Result 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 RequestHandler.Result fromName(String name)
name - The result name - ignored if null/emptyRequestHandler.Result value (case insensitive)
or null if no match foundCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.