public List<String> prepare(final Precorrelation<HttpRequest> precorrelation) throws IOException {
  final HttpRequest request=precorrelation.getRequest();
  final String requestLine=String.format("%s %s %s",request.getMethod(),request.getRequestUri(),request.getProtocolVersion());
  return prepare(request,"Request",precorrelation.getId(),requestLine);
}

public List < String > prepare ( final Precorrelation < HttpRequest > precorrelation ) throws IOException { final HttpRequest request = precorrelation . getRequest ( ) ; final String requestLine = String . format ( "%s %s %s" , request . getMethod ( ) , request . getRequestUri ( ) , request . getProtocolVersion ( ) ) ; return prepare ( request , "Request" , precorrelation . getId ( ) , requestLine ) ; }
produces an http - like request in individual lines .
