@Path(value="microstory") @Consumes(value="application/json") @Produces(value="application/json") public class StoryResource extends Object
| Constructor and Description |
|---|
StoryResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get() |
javax.ws.rs.core.Response |
getStory(Integer id) |
@Path(value="recent") @GET public javax.ws.rs.core.Response get()
@Path(value="{id}")
@GET
public javax.ws.rs.core.Response getStory(@PathParam(value="id")
Integer id)
Copyright © 2018. All rights reserved.