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 ByteBufcontent()Return the data which is held by theHttpMessage.default DecoderResultReturns the result of decoding theHttpMessage.default HttpHeadersheaders()Returns the request/response headers.Returns theHttpMessagetype.default Stringmethod()Returns the name of this method, (e.g.default Stringprotocol()Returns the protocol version, (e.g.default Stringstatus()Returns the response status, (e.g.default HttpHeadersReturns the request/response trailing headers.default Stringuri()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 theHttpMessagetype.- Returns:
- the
HttpMessagetype
-
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
-