code: public static HttpMessage fromRequestData(final String requestData) {
          try (final BufferedReader reader = new BufferedReader(new StringReader(requestData))) {
              final HttpMessage request = new HttpMessage();
  
              final String[] requestLine = reader.readLine().split("\\s");
              if (requestLine.length > 0) {
                  request.method(HttpMethod.valueOf(requestLine[0]));
              }
  
              if (requestLine.length > 1) {
                  request.uri(requestLine[1]);
              }
  
              if (requestLine.length > 2) {
                  request.version(requestLine[2]);
              }
  
              return parseHttpMessage(reader, request);
          } catch (final IOException e) {
              throw new CitrusRuntimeException("Failed to parse Http raw request data", e);
          }
      }
docs: Reads request from complete request dump.
  
  @param requestData The request dump to parse
  @return The parsed dump as HttpMessage