Package reactor.netty.http.logging
Class HttpMessageArgProviderFactory
java.lang.Object
reactor.netty.http.logging.HttpMessageArgProviderFactory
Factory for creating
HttpContentArgProvider based on the provided HTTP object.- Since:
- 1.0.24
- Author:
- Violeta Georgieva
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpMessageArgProviderCreatesHttpContentArgProviderbased on the provided HTTP object.static HttpMessageArgProvidercreate(Object httpObject, @Nullable HttpVersion actualVersion) CreatesHttpContentArgProviderbased on the provided HTTP object and actual protocol version.
-
Method Details
-
create
CreatesHttpContentArgProviderbased on the provided HTTP object.- Parameters:
httpObject- the HTTP object- Returns:
- a new
HttpContentArgProvider
-
create
CreatesHttpContentArgProviderbased on the provided HTTP object and actual protocol version.- Parameters:
httpObject- the HTTP objectactualVersion- the actual HTTP version (optional, used to override the protocol version from the HTTP message)- Returns:
- a new
HttpContentArgProvider - Since:
- 1.2.14
-