Interface RecordableHttpRequest


public interface RecordableHttpRequest
The recordable parts of an HTTP request used when creating an HttpExchange.
Since:
3.0.0
Author:
Andy Wilkinson, Phillip Webb
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

    • getUri

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

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

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

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