public class ObjectURLPresigner
extends java.lang.Object
构造器和说明 |
---|
ObjectURLPresigner(java.net.URI endpoint,
OSSCredentialProvider credentialProvider,
ClientConfiguration conf) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
presignConstrainedURL(GeneratePresignedUrlRequest request) |
java.lang.String |
presignConstrainedURL(java.lang.String bucketName,
java.lang.String objectKey,
long expiredTimeInSeconds) |
java.lang.String |
presignPublicURL(java.lang.String bucketName,
java.lang.String objectKey) |
public ObjectURLPresigner(java.net.URI endpoint, OSSCredentialProvider credentialProvider, ClientConfiguration conf)
public java.lang.String presignConstrainedURL(GeneratePresignedUrlRequest request) throws ClientException
ClientException
public java.lang.String presignConstrainedURL(java.lang.String bucketName, java.lang.String objectKey, long expiredTimeInSeconds) throws ClientException
ClientException
public java.lang.String presignPublicURL(java.lang.String bucketName, java.lang.String objectKey)