public final class HttpRequestMetaDataFactory
extends java.lang.Object
HttpRequestMetaData
objects.
This is typically only used by HTTP decoders.
Modifier and Type | Method and Description |
---|---|
static HttpRequestMetaData |
newRequestMetaData(HttpProtocolVersion version,
HttpRequestMethod method,
java.lang.String requestTarget,
HttpHeaders headers)
Create a new instance.
|
public static HttpRequestMetaData newRequestMetaData(HttpProtocolVersion version, HttpRequestMethod method, java.lang.String requestTarget, HttpHeaders headers)
version
- the HttpProtocolVersion
of the request.method
- the HttpRequestMethod
of the request.requestTarget
- the request-target of the
request.headers
- the HttpHeaders
to use for the request.HttpRequestMetaData
.