@RequestMapping(method = RequestMethod.POST, value = "/{widgetId}/comments")
public void createWidgetComment(@PathVariable long widgetId,
@RequestParam String text,
HttpServletResponse response) {
WidgetComment widgetComment = new WidgetCommentImpl();
widgetComment.setWidgetId(widgetId);
widgetComment.setUser(userService.getAuthenticatedUser());
widgetComment.setText(text);
widgetComment.setCreatedDate(new Date());
widgetComment.setLastModifiedDate(new Date());
widgetCommentService.saveWidgetComment(widgetComment);
response.setStatus(HttpStatus.NO_CONTENT.value());
}