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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a modifiable copy of the headers of the request.
    Returns the method (GET, POST, etc.) of the request.
    Returns the remote address from which the request was sent, if available.
    Returns the URI of the request.
  • Method Details

    • 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