code: public static HttpMessage fromResponseData(final String responseData) {
          try (final BufferedReader reader = new BufferedReader(new StringReader(responseData))) {
              final HttpMessage response = new HttpMessage();
  
              final String[] statusLine = reader.readLine().split("\\s");
              if (statusLine.length > 0) {
                  response.version(statusLine[0]);
              }
  
              if (statusLine.length > 1) {
                  response.status(HttpStatus.valueOf(Integer.valueOf(statusLine[1])));
              }
  
              return parseHttpMessage(reader, response);
          } catch (final IOException e) {
              throw new CitrusRuntimeException("Failed to parse Http raw response data", e);
          }
      }
docs: Reads response from complete response dump.
  
  @param responseData The response dump to parse
  @return The parsed dump as HttpMessage