Class Http.RequestOptions
java.lang.Object
net.buildtheearth.terraminusminus.util.http.Http.RequestOptions
- Enclosing class:
Http
Options for controlling the behavior of outgoing HTTP requests.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanIftrue, we will recursively follow HTTP redirects.final booleanIftrue, we will attempt to load the URL from the cache before sending the request to the server.final booleanIftrue, we will store the received HTTP response body in the cache. -
Method Summary
-
Field Details
-
readFromCache
public final boolean readFromCacheIftrue, we will attempt to load the URL from the cache before sending the request to the server. -
writeToCache
public final boolean writeToCacheIftrue, we will store the received HTTP response body in the cache. -
followRedirects
public final boolean followRedirectsIftrue, we will recursively follow HTTP redirects.
-
-
Method Details
-
builder
-
toBuilder
-