@Action
void voidResult() {
/*...*/
}
|
|
@Action
String string() {
/*...*/
}
|
RESPONSE
{"type":"String","value":"aString"}
|
@Action
String stringNull() {
/*...*/
}
|
|
@Action
String[] stringArray() {
/*...*/
}
|
RESPONSE
[{"type":"String","value":"Hello"},{"type":"String","value":"World!"}]
|
@Action
String[] stringArrayEmpty() {
/*...*/
}
|
|
@Action
String[] stringArrayNull() {
/*...*/
}
|
|
@Action
List<String> stringList() {
/*...*/
}
|
RESPONSE
[{"type":"String","value":"Hello"},{"type":"String","value":"World!"}]
|
@Action
List<String> stringListEmpty() {
/*...*/
}
|
|
@Action
List<String> stringListNull() {
/*...*/
}
|
|
@Action
Integer integer() {
/*...*/
}
|
RESPONSE
{"type":"Integer","value":123}
|
@Action
Integer integerNull() {
/*...*/
}
|
|
@Action
int integerPrimitive() {
/*...*/
}
|
RESPONSE
{"type":"Integer","value":123}
|
@Action
BigInteger bigInteger() {
/*...*/
}
|
RESPONSE
{"type":"BigInteger","value":18446744073709551614}
|
@Action
BigInteger bigIntegerNull() {
/*...*/
}
|
|
@Action
List<BigInteger> bigIntegerList() {
/*...*/
}
|
RESPONSE
[{"type":"BigInteger","value":0},{"type":"BigInteger","value":18446744073709551614}]
|
@Action
Customer customer() {
/*...*/
}
|
RESPONSE
{"age":22,"name":"Hello World!"}
|
@Action
Customer customerNull() {
/*...*/
}
|
|
@Action
List<Customer> customerList() {
/*...*/
}
|
RESPONSE
[{"age":22,"name":"Alice"},{"age":33,"name":"Bob"}]
|
@Action
List<Customer> customerListEmpty() {
/*...*/
}
|
|
@Action
List<Customer> customerListNull() {
/*...*/
}
|
|
@Action
List<BigComplex> complexList() {
/*...*/
}
|
RESPONSE
[{"im":"0","re":"0"},{"im":"-4.3","re":"2.1"}]
|
@Action
BigComplex complexAdd(
String are,
String aim,
String bre,
String bim) {
/*...*/
}
|
REQUEST
{
"are": {"value" : "1.0000000000000000000000000000000000000001"},
"aim": {"value" : "-2.0000000000000000000000000000000000000002"},
"bre": {"value" : "3"},
"bim": {"value" : "4"}
}
RESPONSE
{"im":"1.9999999999999999999999999999999999999998","re":"4.0000000000000000000000000000000000000001"}
|