org.springframework.boot.actuate.trace.http

Interface TraceableRequest



  • public interface TraceableRequest
    A representation of an HTTP request that is suitable for tracing.
    Since:
    2.0.0
    Author:
    Andy Wilkinson
    See Also:
    HttpExchangeTracer
    • Method Detail

      • getMethod

        String getMethod()
        Returns the method (GET, POST, etc) of the request.
        Returns:
        the method
      • getUri

        URI getUri()
        Returns the URI of the request.
        Returns:
        the URI
      • getHeaders

        Map<String,List<String>> getHeaders()
        Returns a modifiable copy of the headers of the request.
        Returns:
        the headers
      • getRemoteAddress

        String getRemoteAddress()
        Returns the remote address from which the request was sent, if available.
        Returns:
        the remote address or null