Interface HttpMessageArgProvider


public interface HttpMessageArgProvider
A provider of the args required for logging HttpMessage details.
Since:
1.0.24
Author:
Violeta Georgieva
  • Method Details

    • content

      default ByteBuf content()
      Return the data which is held by the HttpMessage.
      Returns:
      the data which is held by the HttpMessage
    • decoderResult

      default DecoderResult decoderResult()
      Returns the result of decoding the HttpMessage.
      Returns:
      the result of decoding the HttpMessage
    • headers

      default HttpHeaders headers()
      Returns the request/response headers.
      Returns:
      the request/response headers
    • httpMessageType

      HttpMessageType httpMessageType()
      Returns the HttpMessage type.
      Returns:
      the HttpMessage type
    • method

      default String method()
      Returns the name of this method, (e.g. "GET").
      Returns:
      the name of this method
    • protocol

      default String protocol()
      Returns the protocol version, (e.g. "HTTP/1.1" or "HTTP/2.0").
      Returns:
      the protocol version
    • status

      default String status()
      Returns the response status, (e.g. 200 OK).
      Returns:
      the response status
    • trailingHeaders

      default HttpHeaders trailingHeaders()
      Returns the request/response trailing headers.
      Returns:
      the request/response trailing headers
    • uri

      default String uri()
      Returns the requested URI, (e.g. "/hello").
      Returns:
      the requested URI