Builder
Functions
Sets this request's Cache-Control
header, replacing any cache control headers already present. If cacheControl doesn't define any directives, this clears this request's cache-control headers.
Override the Request.url for caching, if it is either polluted with transient query params, or has a canonical URL possibly for a CDN.
Removes all headers on this builder and adds headers.
Removes all headers named name on this builder.
Attaches tag to the request using T as a key. Tags can be read from a request using Request.tag. Use null to remove any existing tag assigned for T.
Attaches tag to the request using Object.class
as a key.
Attaches tag to the request using type as a key. Tags can be read from a request using Request.tag. Use null to remove any existing tag assigned for type.
Sets the URL target of this request.