Class Http.RequestOptions

java.lang.Object
net.buildtheearth.terraminusminus.util.http.Http.RequestOptions
Enclosing class:
Http

public static final class Http.RequestOptions extends Object
Options for controlling the behavior of outgoing HTTP requests.
  • Field Details

    • readFromCache

      public final boolean readFromCache
      If true, we will attempt to load the URL from the cache before sending the request to the server.
    • writeToCache

      public final boolean writeToCache
      If true, we will store the received HTTP response body in the cache.
    • followRedirects

      public final boolean followRedirects
      If true, we will recursively follow HTTP redirects.
  • Method Details