Class ItemsResource
- java.lang.Object
-
- org.glassfish.jersey.examples.linking.resources.ItemsResource
-
@Path("items") @Produces({"application/xml","application/json"}) public class ItemsResource extends ObjectResource that provides access to the entire list of items- Author:
- Mark Hadley, Gerard Davison (gerard.davison at oracle.com)
-
-
Constructor Summary
Constructors Constructor Description ItemsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemResourceget(String id)ItemsRepresentationquery(jakarta.ws.rs.core.UriInfo info, int offset, int limit)
-
-
-
Method Detail
-
query
@GET public ItemsRepresentation query(@Context jakarta.ws.rs.core.UriInfo info, @QueryParam("offset") @DefaultValue("-1") int offset, @DefaultValue("-1") @QueryParam("limit") int limit)
-
get
@Path("{id}") public ItemResource get(@PathParam("id") String id)
-
-