类 com.aliyun.openservices.HttpMethod
的使用

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

com.aliyun.openservices 中 HttpMethod 的使用
 

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

com.aliyun.openservices.oss 中 HttpMethod 的使用
 

参数类型为 HttpMethod 的 com.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.model 中 HttpMethod 的使用
 

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

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

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



Copyright © 2014. All Rights Reserved.