Package | Description |
---|---|
com.google.cloud.storage.contrib.nio |
Java 7 nio FileSystem client library for Google Cloud Storage.
|
Modifier and Type | Method and Description |
---|---|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withAcl(Acl acl)
Sets the ACL value on a Cloud Storage object.
|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withBlockSize(int size)
Sets the block size (in bytes) when talking to the Google Cloud Storage server.
|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withCacheControl(String cacheControl)
Sets the
Cache-Control HTTP header on an object. |
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withChannelReopen(int count)
Sets the max number of times that the channel can be reopened if reading fails because the
channel unexpectedly closes.
|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withContentDisposition(String contentDisposition)
Sets the
Content-Disposition HTTP header on an object. |
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withContentEncoding(String contentEncoding)
Sets the
Content-Encoding HTTP header on an object. |
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withMimeType(String mimeType)
Sets the mime type header on an object, e.g.
|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withoutCaching()
Disables caching on an object.
|
static CloudStorageOption.OpenCopy |
CloudStorageOptions.withUserMetadata(String key,
String value)
Sets an unmodifiable piece of user metadata on a Cloud Storage object.
|
Copyright © 2019 Google LLC. All rights reserved.