@Path(value="user") @Produces(value="application/json") @Consumes(value="application/json") public class UserResource extends Object
User entity, containing the business logic
needed to handle REST operations for the resource.| Constructor and Description |
|---|
UserResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getStoriesByUser(String login,
int page,
int maxItems) |
@GET
@Path(value="/{login}/microstory")
public javax.ws.rs.core.Response getStoriesByUser(@PathParam(value="login")
String login,
@QueryParam(value="page")
int page,
@QueryParam(value="maxItems")
int maxItems)
Copyright © 2021. All rights reserved.