@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 |
getByText(String contains,
Integer pagination,
Integer items) |
javax.ws.rs.core.Response |
getlistSearchPagination(String genre,
String theme,
String publication,
Integer pagination,
Integer items) |
javax.ws.rs.core.Response |
getStory(Integer id) |
javax.ws.rs.core.Response |
topTenMostPopular() |
@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)
@GET
public javax.ws.rs.core.Response getByText(@QueryParam(value="contains")
String contains,
@QueryParam(value="pagination")
Integer pagination,
@QueryParam(value="items")
Integer items)
@GET
public javax.ws.rs.core.Response getlistSearchPagination(@QueryParam(value="genre")
String genre,
@QueryParam(value="theme")
String theme,
@QueryParam(value="publication")
String publication,
@QueryParam(value="pagination")
Integer pagination,
@QueryParam(value="items")
Integer items)
throws ParseException
ParseException@Path(value="hottest") @GET public javax.ws.rs.core.Response topTenMostPopular()
Copyright © 2018. All rights reserved.