public class TestService extends Object
Constructor and Description |
---|
TestService() |
Modifier and Type | Method and Description |
---|---|
Note |
getComplex() |
String |
getSimple() |
String |
greetings(String name) |
void |
sendComplex(Note note) |
void |
sendSimple(String param) |
String[] |
sort1(String[] array) |
String[] |
sort2(String[] array) |
@Path(value="/getSimple") public String getSimple() throws GenericException
GenericException
@Path(value="/sendSimple/{param}") public void sendSimple(String param) throws GenericException
GenericException
@Path(value="/getComplex") public Note getComplex() throws GenericException
GenericException
@Path(value="/sendComplex") public void sendComplex(Note note) throws GenericException
GenericException
@Path(value="/sort1/{array}") public String[] sort1(String[] array) throws GenericException
GenericException
@Path(value="/sort2/{array}") public String[] sort2(String[] array) throws GenericException
GenericException
@Path(value="/greetings/{name}") public String greetings(String name) throws GenericException
GenericException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.