Class Http.RequestOptions.RequestOptionsBuilder
java.lang.Object
net.buildtheearth.terraminusminus.util.http.Http.RequestOptions.RequestOptionsBuilder
- Enclosing class:
Http.RequestOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()followRedirects(boolean followRedirects) Iftrue, we will recursively follow HTTP redirects.readFromCache(boolean readFromCache) Iftrue, we will attempt to load the URL from the cache before sending the request to the server.toString()writeToCache(boolean writeToCache) Iftrue, we will store the received HTTP response body in the cache.
-
Method Details
-
readFromCache
Iftrue, we will attempt to load the URL from the cache before sending the request to the server.- Returns:
this.
-
writeToCache
Iftrue, we will store the received HTTP response body in the cache.- Returns:
this.
-
followRedirects
Iftrue, we will recursively follow HTTP redirects.- Returns:
this.
-
build
-
toString
-