@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 |
getStory(Long id) |
javax.ws.rs.core.Response |
listRecents() |
javax.ws.rs.core.Response |
searchStories(String text) |
@Path(value="recent") @GET public javax.ws.rs.core.Response listRecents()
@Path(value="{id}")
@GET
public javax.ws.rs.core.Response getStory(@PathParam(value="id")
Long id)
throws SecurityException
SecurityException@GET
public javax.ws.rs.core.Response searchStories(@QueryParam(value="contains")
String text)
Copyright © 2024. All rights reserved.