类 com.aliyun.openservices.HttpMethod
的使用

使用 HttpMethod 的软件包
com.aliyun.openservices   
com.aliyun.openservices.oss   
com.aliyun.openservices.oss.model   
 

com.aliyun.openservicesHttpMethod 的使用
 

返回 HttpMethodcom.aliyun.openservices 中的方法
static HttpMethod HttpMethod.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static HttpMethod[] HttpMethod.values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 

com.aliyun.openservices.ossHttpMethod 的使用
 

参数类型为 HttpMethodcom.aliyun.openservices.oss 中的方法
 URL OSSClient.generatePresignedUrl(String bucketName, String key, Date expiration, HttpMethod method)
           
 URL OSS.generatePresignedUrl(String bucketName, String key, Date expiration, HttpMethod method)
          生成一个用指定HTTP方法访问OSSObject的URL。
 

com.aliyun.openservices.oss.modelHttpMethod 的使用
 

返回 HttpMethodcom.aliyun.openservices.oss.model 中的方法
 HttpMethod GeneratePresignedUrlRequest.getMethod()
          返回HTTP访问方法。
 

参数类型为 HttpMethodcom.aliyun.openservices.oss.model 中的方法
 void GeneratePresignedUrlRequest.setMethod(HttpMethod method)
          设置HTTP访问方法。
 

参数类型为 HttpMethodcom.aliyun.openservices.oss.model 中的构造方法
GeneratePresignedUrlRequest(String bucketName, String key, HttpMethod method)
          构造函数。
 



Copyright © 2013. All Rights Reserved.