Class GetOptions

  • All Implemented Interfaces:
    HttpRequestOptions
    Direct Known Subclasses:
    GetObjectOptions

    public class GetOptions
    extends BaseHttpRequestOptions
    Contains options supported for HTTP GET operations.

    Usage

    The recommended way to instantiate a GetObjectOptions object is to statically import GetObjectOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):

    import static org.jclouds.http.options.GetOptions.Builder.* // this will get the first megabyte of an object. blob = client.get("objectName",range(0,1024));