Class Request



  • public final class Request
    extends Object
    An HTTP request. Instances of this class are immutable if their body is null or itself immutable.
    • Method Detail

      • method

        public String method()
      • headers

        public Headers headers()
      • cacheControl

        public CacheControl cacheControl()
        Returns the cache control directives for this response. This is never null, even if this response contains no Cache-Control header.
      • isHttps

        public boolean isHttps()
      • toString

        public String toString()