## 类的使用
com.obs.services.model.HttpMethodEnum

- 使用HttpMethodEnum的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |

- - ### com.obs.services中HttpMethodEnum的使用

    参数类型为HttpMethodEnum的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | ObsClient.`createSignedUrl(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, Date expiryTime, Map<String,String> headers, Map<String,Object> queryParams)` 已过时。
    `String` | ObsClient.`createSignedUrl(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires, Map<String,String> headers, Map<String,Object> queryParams)` 已过时。

  - ### com.obs.services.model中HttpMethodEnum的使用

    声明为HttpMethodEnum的com.obs.services.model中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected HttpMethodEnum` | AbstractTemporarySignatureRequest.`method`

    返回HttpMethodEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HttpMethodEnum` | AbstractTemporarySignatureRequest.`getMethod()` Obtain the HTTP/HTTPS request method.
    `static HttpMethodEnum` | HttpMethodEnum.`getValueFromStringCode(String operationType)`
    `static HttpMethodEnum` | HttpMethodEnum.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static HttpMethodEnum[]` | HttpMethodEnum.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为HttpMethodEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AbstractTemporarySignatureRequest.`setMethod(HttpMethodEnum method)` Set the HTTP/HTTP request method.

    参数类型为HttpMethodEnum的com.obs.services.model中的构造器
    构造器和说明
    `AbstractTemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey)` Constructor
    `PolicyTempSignatureRequest(HttpMethodEnum method, String bucketName, String objectKey)` Constructor
    `PolicyTempSignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, Date expiryDate)` Constructor
    `PolicyTempSignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, long expires)` Constructor
    `TemporarySignatureRequest(HttpMethodEnum method, long expires)` Constructor
    `TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires)` Constructor
    `TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires, Date requestDate)` Constructor
    `V4TemporarySignatureRequest(HttpMethodEnum method, long expires)` 已过时。
    `V4TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires)` 已过时。
    `V4TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires, Date requestDate)` 已过时。

Copyright © 2021. All rights reserved.