public final class PutObjectACLRequest extends ObjectRequest
CosXmlRequest.OnRequestWeightListener
cosPath
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PutObjectACLRequest(java.lang.String bucket,
java.lang.String cosPath) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
void |
setAccessControlPolicy(AccessControlPolicy accessControlPolicy)
设置acl信息
|
void |
setXCOSACL(COSACL cosacl)
定义对象的访问控制列表(ACL)属性。
|
void |
setXCOSACL(java.lang.String cosacl)
|
void |
setXCOSGrantRead(ACLAccount aclAccount)
赋予被授权者操作对象的读取权限
|
void |
setXCOSGrantReadACP(ACLAccount aclAccount)
赋予被授权者读取对象的访问控制列表(ACL)的权限
|
void |
setXCOSGrantWrite(ACLAccount aclAccount)
赋予被授权者操作对象的写入权限
|
void |
setXCOSGrantWriteACP(ACLAccount aclAccount)
赋予被授权者写入对象的访问控制列表(ACL)的权限
|
void |
setXCOSReadFullControl(ACLAccount aclAccount)
赋予被授权者操作对象的所有权限
|
void |
setXCOSReadWrite(ACLAccount aclAccount)
赋予被授权者操作对象的所有权限
|
protected RequestBodySerializer |
xmlBuilder()
收拢xml解析
|
checkParameters, getContentType, getCosPath, getPath, setCosPath, setCOSServerSideEncryption, setCOSServerSideEncryptionWithCustomerKey, setCOSServerSideEncryptionWithKMS
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getRegion, getRequestBody, getRequestHeaders, getRequestHost, getRequestURL, getSignSourceProvider, getSTSCredentialScope, getWeight, headersHasUnsafeNonAscii, isNeedMD5, isSignInUrl, isSupportAccelerate, isSupportAccelerate, setNeedMD5, setOnRequestWeightListener, setQueryEncodedString, setQueryParameters, setRegion, setRequestHeaders, setRequestHeaders, setRequestHeaders, setRequestURL, setSign, setSign, setSign, setSign, setSign, setSignInUrl, setSignKeyTime, setSignParamsAndHeaders, setSignSourceProvider, setTask, setTaskStateListener
public PutObjectACLRequest(java.lang.String bucket, java.lang.String cosPath)
public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
protected RequestBodySerializer xmlBuilder() throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
CosXmlRequest
xmlBuilder
在类中 CosXmlRequest
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public void setAccessControlPolicy(AccessControlPolicy accessControlPolicy)
accessControlPolicy
- acl信息public void setXCOSACL(COSACL cosacl)
cosacl
- COS 访问权限public void setXCOSACL(java.lang.String cosacl)
cosacl
- COS 访问权限public void setXCOSGrantRead(ACLAccount aclAccount)
aclAccount
- ACL授权账号列表public void setXCOSGrantWrite(ACLAccount aclAccount)
aclAccount
- ACL授权账号列表public void setXCOSGrantReadACP(ACLAccount aclAccount)
aclAccount
- 用户权限列表public void setXCOSGrantWriteACP(ACLAccount aclAccount)
aclAccount
- 用户权限列表public void setXCOSReadFullControl(ACLAccount aclAccount)
aclAccount
- 用户权限列表public void setXCOSReadWrite(ACLAccount aclAccount)
aclAccount
- 用户权限列表