@Path(value="comments")
public interface CommentsResource
| Modifier and Type | Method and Description |
|---|---|
Comment |
getComment(String comment_id,
String fields) |
void |
removeComment(String comment_id) |
@GET
@Produces(value="application/xml")
@Path(value="/{comment-id}{fields}")
Comment getComment(@PathParam(value="comment-id")
String comment_id,
@PathParam(value="fields")
String fields)
@DELETE
@Path(value="/{comment-id}")
void removeComment(@PathParam(value="comment-id")
String comment_id)
Apache Camel