@Path(value="2/comments") public class Comments extends Object
| Constructor and Description |
|---|
Comments() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCommentsUser() |
javax.ws.rs.core.Response |
getCommentsUserByTime(long timeInMillis) |
@GET @Produces(value="application/json") @Path(value="get-comments-user") public javax.ws.rs.core.Response getCommentsUser()
@GET
@Produces(value="application/json")
@Path(value="get-comments-user-by-time")
public javax.ws.rs.core.Response getCommentsUserByTime(@QueryParam(value="time") @Min(value=0L,message="time cannot be negative")
long timeInMillis)
throws javax.validation.ValidationException
javax.validation.ValidationExceptionCopyright © 2019. All Rights Reserved.