RemoteReturn
@Deprecated public enum RemoteReturn extends Enum<RemoteReturn>
@RemoteMethod(returns)
annotation.Enum Constant and Description |
---|
BEAN
Deprecated.
Response bean
|
BODY
Deprecated.
HTTP response body
|
NONE
Deprecated.
Ignore (used for void methods)
|
STATUS
Deprecated.
HTTP status code
|
Modifier and Type | Method and Description |
---|---|
static RemoteReturn |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RemoteReturn[] |
values()
Deprecated.
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.