Uses of Class
com.google.appengine.api.urlfetch.FetchOptions
Packages that use FetchOptions
Package
Description
Provides a service to make HTTP/S requests of other servers on the internet.
-
Uses of FetchOptions in com.google.appengine.api.urlfetch
Methods in com.google.appengine.api.urlfetch that return FetchOptionsModifier and TypeMethodDescriptionFetchOptions.allowTruncate()Enables response truncation.static FetchOptionsFetchOptions.Builder.allowTruncate()Create aFetchOptionsthat allows truncation of the response.static FetchOptionsFetchOptions.Builder.disallowTruncate()Create aFetchOptionsthat disallows truncation of the response.FetchOptions.disallowTruncate()Disables response truncation.static FetchOptionsFetchOptions.Builder.doNotFollowRedirects()Create aFetchOptionsthat does not follow redirects.FetchOptions.doNotFollowRedirects()Disables following of redirects.static FetchOptionsFetchOptions.Builder.doNotValidateCertificate()Create aFetchOptionsthat does not perform SSL certificate validation.FetchOptions.doNotValidateCertificate()Disables certificate validation on HTTPS connections.static FetchOptionsFetchOptions.Builder.followRedirects()Create aFetchOptionsthat follows redirects.FetchOptions.followRedirects()Enables following of redirects.HTTPRequest.getFetchOptions()Get the fetch options for this request.FetchOptions.setDeadline(Double deadline) Sets the deadline, in seconds, for the fetch request.static FetchOptionsFetchOptions.Builder.validateCertificate()Create aFetchOptionsthat performs SSL certificate validation.FetchOptions.validateCertificate()Enables certificate validation on HTTPS connections via the normal CA-based mechanism.static FetchOptionsFetchOptions.Builder.withDeadline(double deadline) Create aFetchOptionswith the specified deadline.static FetchOptionsFetchOptions.Builder.withDefaults()Helper method for creating aFetchOptionsinstance with default values.Constructors in com.google.appengine.api.urlfetch with parameters of type FetchOptionsModifierConstructorDescriptionHTTPRequest(URL url, HTTPMethod method, FetchOptions fetchOptions) Creates aHTTPRequestthat represents an HTTP request to the specified URL with the specified HTTP method (GET, POST, etc) and the specifiedFetchOptions.