@Override protected Report readInternal(Class<? extends Report> clazz, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException { String requestBody = toString(inputMessage.getBody()); int i = requestBody.indexOf("\n"); if (i == -1) { throw new HttpMessageNotReadableException("No first line found"); }