com.obs.services.model

## 类 AbstractTemporarySignatureRequest

- java.lang.Object
- - com.obs.services.model.AbstractTemporarySignatureRequest

- 直接已知子类:
    PolicyTempSignatureRequest, TemporarySignatureRequest

      public abstract class AbstractTemporarySignatureRequest
      extends Object

  Abstract class for request parameters of signature-carrying queries

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected String` | `bucketName`
    `protected Map<String,String>` | `headers`
    `protected HttpMethodEnum` | `method`
    `protected String` | `objectKey`
    `protected Map<String,Object>` | `queryParams`
    `protected SpecialParamEnum` | `specialParam`

  - ### 构造器概要

    构造器
    构造器和说明
    `AbstractTemporarySignatureRequest()`
    `AbstractTemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the bucket name.
    `Map<String,String>` | `getHeaders()` Obtain the request header information.
    `HttpMethodEnum` | `getMethod()` Obtain the HTTP/HTTPS request method.
    `String` | `getObjectKey()` Obtain the object name.
    `Map<String,Object>` | `getQueryParams()` Obtain the query parameters of the request.
    `SpecialParamEnum` | `getSpecialParam()` Obtain the special operator.
    `void` | `setBucketName(String bucketName)` Set the bucket name.
    `void` | `setHeaders(Map<String,String> headers)` Set request header information.
    `void` | `setMethod(HttpMethodEnum method)` Set the HTTP/HTTP request method.
    `void` | `setObjectKey(String objectKey)` Set the object name.
    `void` | `setQueryParams(Map<String,Object> queryParams)` Set request query parameters.
    `void` | `setSpecialParam(SpecialParamEnum specialParam)` Set the special operator.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### method

          protected HttpMethodEnum method

    - #### bucketName

          protected String bucketName

    - #### objectKey

          protected String objectKey

    - #### specialParam

          protected SpecialParamEnum specialParam

    - #### headers

          protected Map<String,String> headers

    - #### queryParams

          protected Map<String,Object> queryParams

  - ### 构造器详细资料

    - #### AbstractTemporarySignatureRequest

          public AbstractTemporarySignatureRequest()

    - #### AbstractTemporarySignatureRequest

          public AbstractTemporarySignatureRequest(HttpMethodEnum method,
                                                   String bucketName,
                                                   String objectKey)

      Constructor
      参数:
        `method` - HTTP/HTTPS request method
        `bucketName` - Bucket name
        `objectKey` - Object name

  - ### 方法详细资料

    - #### getMethod

          public HttpMethodEnum getMethod()

      Obtain the HTTP/HTTPS request method.
      返回:
        HTTP/HTTPS request method

    - #### setMethod

          public void setMethod(HttpMethodEnum method)

      Set the HTTP/HTTP request method.
      参数:
        `method` - HTTP/HTTPS request method

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the bucket name.
      参数:
        `bucketName` - Bucket name

    - #### getObjectKey

          public String getObjectKey()

      Obtain the object name.
      返回:
        Object name

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set the object name.
      参数:
        `objectKey` - Object name

    - #### getHeaders

          public Map<String,String> getHeaders()

      Obtain the request header information.
      返回:
        Request header information

    - #### getQueryParams

          public Map<String,Object> getQueryParams()

      Obtain the query parameters of the request.
      返回:
        Query parameter information

    - #### getSpecialParam

          public SpecialParamEnum getSpecialParam()

      Obtain the special operator.
      返回:
        Special operator

    - #### setSpecialParam

          public void setSpecialParam(SpecialParamEnum specialParam)

      Set the special operator.
      参数:
        `specialParam` - Special operator

    - #### setHeaders

          public void setHeaders(Map<String,String> headers)

      Set request header information.
      参数:
        `headers` - Request header information

    - #### setQueryParams

          public void setQueryParams(Map<String,Object> queryParams)

      Set request query parameters.
      参数:
        `queryParams` - Request query parameter

Copyright © 2021. All rights reserved.