public enum RemoteReturn extends Enum<RemoteReturn>
@RemoteMethod(returns) annotation.| Enum Constant and Description |
|---|
BEAN
Response bean
|
BODY
HTTP response body
|
NONE
Ignore (used for void methods)
|
STATUS
HTTP status code
|
| Modifier and Type | Method and Description |
|---|---|
static RemoteReturn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteReturn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteReturn BODY
public static final RemoteReturn STATUS
public static final RemoteReturn BEAN
public static final RemoteReturn NONE
public static RemoteReturn[] values()
for (RemoteReturn c : RemoteReturn.values()) System.out.println(c);
public static RemoteReturn 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 © 2016–2019 The Apache Software Foundation. All rights reserved.