public enum Result extends Enum<Result>
| Enum Constant and Description |
|---|
CLIENT_ERROR
The Response indicates an invalid request made by the client.
|
NO_RESPONSE
Client received no response from the server.
|
SERVER_ERROR
The Response indicates the request made by the client is valid, but the server could not fulfill the request
|
SUCCESS
The server was able to comply with the request and provide an adequate response.
|
| Modifier and Type | Method and Description |
|---|---|
static Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result NO_RESPONSE
public static final Result CLIENT_ERROR
public static final Result SERVER_ERROR
public static final Result SUCCESS
public static Result[] values()
for (Result c : Result.values()) System.out.println(c);
public static 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 nullCopyright © 2019–2025 Teslanet.nl. All rights reserved.