@Path(value="/example/json") @Produces(value="application/json") @Consumes(value="application/json") public class ExampleJsonService extends Object
| Constructor and Description |
|---|
ExampleJsonService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteExample() |
javax.ws.rs.core.Response |
getExample() |
String |
headerExample() |
javax.ws.rs.core.Response |
postExample(javax.json.JsonObject jsonObject) |
@POST public javax.ws.rs.core.Response postExample(javax.json.JsonObject jsonObject)
@GET public javax.ws.rs.core.Response getExample()
@DELETE public void deleteExample()
@GET @Path(value="/header") public String headerExample()
Copyright © 2018. All rights reserved.