Package 

Interface HttpRequestInfo


  • 
    public interface HttpRequestInfo
    
                        

    Represents information about an HTTP request.

    • Method Summary

      Modifier and Type Method Description
      abstract Long contentLength() Retrieves the content length of the HTTP request.
      abstract String getUrl() The URL associated with the HTTP request.
      abstract Map<String, List<String>> getHeaders() Represents the HTTP headers associated with the request.
      abstract String getContentType() The MIME type of the payload associated with the HTTP request or response, represented as a string.
      abstract String getMethod() Represents the HTTP method associated with the request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • contentLength

         abstract Long contentLength()

        Retrieves the content length of the HTTP request.

      • getUrl

         abstract String getUrl()

        The URL associated with the HTTP request.

      • getContentType

         abstract String getContentType()

        The MIME type of the payload associated with the HTTP request or response, represented as a string. Can be null if the content type is unspecified.

      • getMethod

         abstract String getMethod()

        Represents the HTTP method associated with the request.