public final class HttpMessageArgProviderFactory extends Object
HttpContentArgProvider based on the provided HTTP object.| Modifier and Type | Method and Description |
|---|---|
static HttpMessageArgProvider |
create(Object httpObject)
Creates
HttpContentArgProvider based on the provided HTTP object. |
static HttpMessageArgProvider |
create(Object httpObject,
HttpVersion actualVersion)
Creates
HttpContentArgProvider based on the provided HTTP object and actual protocol version. |
public static HttpMessageArgProvider create(Object httpObject)
HttpContentArgProvider based on the provided HTTP object.httpObject - the HTTP objectHttpContentArgProviderpublic static HttpMessageArgProvider create(Object httpObject, @Nullable HttpVersion actualVersion)
HttpContentArgProvider based on the provided HTTP object and actual protocol version.httpObject - the HTTP objectactualVersion - the actual HTTP version (optional, used to override the protocol version from the HTTP message)HttpContentArgProvider