Package reactor.netty.http.logging
Interface HttpMessageArgProvider
public interface HttpMessageArgProvider
A provider of the args required for logging
HttpMessage
details.- Since:
- 1.0.24
- Author:
- Violeta Georgieva
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByteBuf
content()
Return the data which is held by theHttpMessage
.default DecoderResult
Returns the result of decoding theHttpMessage
.default HttpHeaders
headers()
Returns the request/response headers.Returns theHttpMessage
type.default String
method()
Returns the name of this method, (e.g.default String
protocol()
Returns the protocol version, (e.g.default String
status()
Returns the response status, (e.g.default HttpHeaders
Returns the request/response trailing headers.default String
uri()
Returns the requested URI, (e.g.
-
Method Details
-
content
Return the data which is held by theHttpMessage
.- Returns:
- the data which is held by the
HttpMessage
-
decoderResult
Returns the result of decoding theHttpMessage
.- Returns:
- the result of decoding the
HttpMessage
-
headers
Returns the request/response headers.- Returns:
- the request/response headers
-
httpMessageType
HttpMessageType httpMessageType()Returns theHttpMessage
type.- Returns:
- the
HttpMessage
type
-
method
Returns the name of this method, (e.g. "GET").- Returns:
- the name of this method
-
protocol
Returns the protocol version, (e.g. "HTTP/1.1" or "HTTP/2.0").- Returns:
- the protocol version
-
status
Returns the response status, (e.g. 200 OK).- Returns:
- the response status
-
trailingHeaders
Returns the request/response trailing headers.- Returns:
- the request/response trailing headers
-
uri
Returns the requested URI, (e.g. "/hello").- Returns:
- the requested URI
-