servicetalk-http-api/src/main/java/io/servicetalk/http/api/StreamingHttpRequests.java
/**
     * Creates a new {@link StreamingHttpRequest}.
     *
     * @param method the {@link HttpRequestMethod} of the request.
     * @param requestTarget the <a href="https://tools.ietf.org/html/rfc7230#section-3.1.1">request-target</a> of the
     * request.
     * @param version the {@link HttpProtocolVersion} of the request.
     * @param headers the {@link HttpHeaders} of the request.
     * @param allocator the allocator used for serialization purposes if necessary.
     * @param headersFactory {@link HttpHeadersFactory} to use.
     * @return a new {@link StreamingHttpRequest}.
     */
Creates a new  StreamingHttpRequest.
@param method the  HttpRequestMethod of the request.
@param requestTarget the request-target of the
request.
@param version the  HttpProtocolVersion of the request.
@param headers the  HttpHeaders of the request.
@param allocator the allocator used for serialization purposes if necessary.
@param headersFactory  HttpHeadersFactory to use.
@return a new  StreamingHttpRequest.
Creates a new StreamingHttpRequest . @param method the HttpRequestMethod of the request . @param requestTarget the request - target of the request . @param version the HttpProtocolVersion of the request . @param headers the HttpHeaders of the request . @param allocator the allocator used for serialization purposes if necessary . @param headersFactory HttpHeadersFactory to use . @return a new StreamingHttpRequest .
public static StreamingHttpRequest newRequest(
            final HttpRequestMethod method, final String requestTarget, final HttpProtocolVersion version,
            final HttpHeaders headers, final BufferAllocator allocator, final HttpHeadersFactory headersFactory) {
        return new DefaultStreamingHttpRequest(method, requestTarget, version, headers, null, null, allocator, null,
                forUserCreated(), headersFactory);
    }
public static StreamingHttpRequest newRequest ( final HttpRequestMethod method , final String requestTarget , final HttpProtocolVersion version , final HttpHeaders headers , final BufferAllocator allocator , final HttpHeadersFactory headersFactory ) { return new DefaultStreamingHttpRequest ( method , requestTarget , version , headers , null , null , allocator , null , forUserCreated ( ) , headersFactory ) ; }
Creates a new {@link StreamingHttpRequest}.
Creates a new { @link StreamingHttpRequest } .