public interface TaskCommentResource
Modifier and Type | Method and Description |
---|---|
CommentDto |
createComment(javax.ws.rs.core.UriInfo uriInfo,
CommentDto comment) |
CommentDto |
getComment(String commentId) |
List<CommentDto> |
getComments() |
@GET @Produces(value="application/json") List<CommentDto> getComments()
@GET @Path(value="/{commentId}") @Produces(value="application/json") CommentDto getComment(@PathParam(value="commentId") String commentId)
@POST @Path(value="/create") @Consumes(value="application/json") @Produces(value="application/json") CommentDto createComment(@Context javax.ws.rs.core.UriInfo uriInfo, CommentDto comment)
Copyright © 2021. All rights reserved.