Class Comments


  • @Path("comments")
    public class Comments
    extends Collection
    • Constructor Detail

      • Comments

        public Comments()
    • Method Detail

      • readComment

        @GET
        @Path("/{id}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response readComment​(@NotNull @PathParam("id")
                                                       @NotNull String id)
      • updateComment

        @PUT
        @Path("/{id}")
        @Consumes("application/json")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response updateComment​(@NotNull @PathParam("id")
                                                         @NotNull String id,
                                                         @NotNull
                                                         @NotNull org.gcube.social_networking.socialnetworking.model.shared.Comment comment)