public static enum ServiceDispatcher.Response extends Enum<ServiceDispatcher.Response>
| Enum Constant and Description |
|---|
AUTHENTICATE |
BUSY |
FORMAT_ERROR |
INVALID |
OK |
PROCEED |
UNKNOWN_SERVICE |
| Modifier and Type | Method and Description |
|---|---|
static ServiceDispatcher.Response |
get(int ordinal) |
static ServiceDispatcher.Response |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceDispatcher.Response[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceDispatcher.Response OK
public static final ServiceDispatcher.Response BUSY
public static final ServiceDispatcher.Response FORMAT_ERROR
public static final ServiceDispatcher.Response UNKNOWN_SERVICE
public static final ServiceDispatcher.Response PROCEED
public static final ServiceDispatcher.Response INVALID
public static final ServiceDispatcher.Response AUTHENTICATE
public static ServiceDispatcher.Response[] values()
for (ServiceDispatcher.Response c : ServiceDispatcher.Response.values()) System.out.println(c);
public static ServiceDispatcher.Response 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 ServiceDispatcher.Response get(int ordinal)
Copyright © 2024. All rights reserved.