@Path(value="/microstory") public class StoryResource extends Object
| Constructor and Description |
|---|
StoryResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getByText(String text,
Integer page,
Integer maxResults) |
javax.ws.rs.core.Response |
getRecentStories() |
javax.ws.rs.core.Response |
getStoryById(int id) |
@GET @Path(value="/recent") @Produces(value="application/json") public javax.ws.rs.core.Response getRecentStories()
@GET
@Path(value="/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getStoryById(@PathParam(value="id")
int id)
throws SecurityException
SecurityExceptionCopyright © 2023. All rights reserved.