@ API ( status = EXPERIMENTAL ) public List < String > prepare ( final Precorrelation precorrelation , final HttpRequest request ) throws IOException { 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 .