public static class Storage.SignUrlOption extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static Storage.SignUrlOption |
httpMethod(HttpMethod httpMethod)
The HTTP method to be used with the signed URL.
|
static Storage.SignUrlOption |
signWith(ServiceAccountSigner signer)
Provides a service account signer to sign the URL.
|
static Storage.SignUrlOption |
withContentType()
Use it if signature should include the blob's content-type.
|
static Storage.SignUrlOption |
withExtHeaders(Map<String,String> extHeaders)
Use it if signature should include the blob's canonicalized extended headers.
|
static Storage.SignUrlOption |
withMd5()
Use it if signature should include the blob's md5.
|
public static Storage.SignUrlOption httpMethod(HttpMethod httpMethod)
public static Storage.SignUrlOption withContentType()
public static Storage.SignUrlOption withMd5()
public static Storage.SignUrlOption withExtHeaders(Map<String,String> extHeaders)
public static Storage.SignUrlOption signWith(ServiceAccountSigner signer)
Copyright © 2018 Google LLC. All rights reserved.