Class RequestSummary

    • Constructor Detail

      • RequestSummary

        RequestSummary​(BaseRequest request)
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Specified by:
        getUrl in interface HttpRequestSummary
        Returns:
        The current full URL string for the request with query params (http://somewhere/else?colour=red)
      • getRawPath

        public java.lang.String getRawPath()
        Specified by:
        getRawPath in interface HttpRequestSummary
        Returns:
        The raw un-parameterized path without query strings (http://somewhere/{param})
      • asString

        public java.lang.String asString()
        Specified by:
        asString in interface HttpRequestSummary
        Returns:
        a string summary of the request suitable for logging
      • getHeaders

        public java.util.Collection<Header> getHeaders()
        Specified by:
        getHeaders in interface HttpRequestSummary
        Returns:
        an immutable collection of the headers for the request