Interface HttpRequestSummary

All Known Implementing Classes:
RequestSummary

public interface HttpRequestSummary
A summary of a request about to be performed
  • Method Details

    • getHttpMethod

      HttpMethod getHttpMethod()
      Returns:
      The HTTP method of the request
    • getUrl

      String getUrl()
      Returns:
      The current full URL string for the request with query params (http://somewhere/else?colour=red)
    • getRawPath

      String getRawPath()
      Returns:
      The raw un-parameterized path without query strings (http://somewhere/{param})
    • asString

      String asString()
      Returns:
      a string summary of the request suitable for logging
    • getHeaders

      Collection<Header> getHeaders()
      Returns:
      an immutable collection of the headers for the request