Пример #1
0
 @Override
 public ClapResponse saveInfoMessage(final InfoMessageRequest request) {
   LOGGER.debug("saving logs bunch message " + request);
   login(request.getToken());
   messagesService.saveMessage(request.getVariantHash(), request.getMessage());
   LOGGER.debug(request + "saved");
   return new ClapResponse();
 }
Пример #2
0
 public Response getScreenshot(final long messageId) {
   final File screenshot = messagesService.getScreenshot(messageId);
   return returnImage(screenshot);
 }