Package io.servicetalk.http.api
Class HttpRequestMetaDataFactory
- java.lang.Object
-
- io.servicetalk.http.api.HttpRequestMetaDataFactory
-
public final class HttpRequestMetaDataFactory extends java.lang.Object
A static factory class forHttpRequestMetaData
objects.This is typically only used by HTTP decoders.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpRequestMetaData
newRequestMetaData(HttpProtocolVersion version, HttpRequestMethod method, java.lang.String requestTarget, HttpHeaders headers)
Create a new instance.
-
-
-
Method Detail
-
newRequestMetaData
public static HttpRequestMetaData newRequestMetaData(HttpProtocolVersion version, HttpRequestMethod method, java.lang.String requestTarget, HttpHeaders headers)
Create a new instance.- Parameters:
version
- theHttpProtocolVersion
of the request.method
- theHttpRequestMethod
of the request.requestTarget
- the request-target of the request.headers
- theHttpHeaders
to use for the request.- Returns:
- a new
HttpRequestMetaData
.
-
-