com.aliyun.oss.model

## 类 WebServiceRequest

- java.lang.Object
- - com.aliyun.oss.model.WebServiceRequest

- 直接已知子类:
    CopyObjectRequest, GenericRequest, HeadObjectRequest, ListBucketsRequest, UdfGenericRequest, UploadPartCopyRequest

      public abstract class WebServiceRequest
      extends Object

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static WebServiceRequest` | `NOOP`

  - ### 构造器概要

    构造器
    构造器和说明
    `WebServiceRequest()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addAdditionalHeaderName(String name)`
    `void` | `addHeader(String key, String value)`
    `void` | `addParameter(String key, String value)`
    `Set<String>` | `getAdditionalHeaderNames()`
    `Map<String,String>` | `getHeaders()`
    `Map<String,String>` | `getParameters()`
    `ProgressListener` | `getProgressListener()`
    `boolean` | `isLogEnabled()`
    `void` | `setAdditionalHeaderNames(Set<String> additionalHeaderNames)`
    `void` | `setHeaders(Map<String,String> headers)`
    `void` | `setLogEnabled(boolean logEnabled)`
    `void` | `setParameters(Map<String,String> parameters)`
    `void` | `setProgressListener(ProgressListener progressListener)`
    `<T extends WebServiceRequest> T` | `withProgressListener(ProgressListener progressListener)`

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

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

- - ### 字段详细资料

    - #### NOOP

          public static final WebServiceRequest NOOP

  - ### 构造器详细资料

    - #### WebServiceRequest

          public WebServiceRequest()

  - ### 方法详细资料

    - #### setProgressListener

          public void setProgressListener(ProgressListener progressListener)

    - #### getProgressListener

          public ProgressListener getProgressListener()

    - #### withProgressListener

          public <T extends WebServiceRequest> T withProgressListener(ProgressListener progressListener)

    - #### getParameters

          public Map<String,String> getParameters()

    - #### setParameters

          public void setParameters(Map<String,String> parameters)

    - #### addParameter

          public void addParameter(String key,
                          String value)

    - #### getHeaders

          public Map<String,String> getHeaders()

    - #### setHeaders

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

    - #### addHeader

          public void addHeader(String key,
                       String value)

    - #### getAdditionalHeaderNames

          public Set<String> getAdditionalHeaderNames()

    - #### setAdditionalHeaderNames

          public void setAdditionalHeaderNames(Set<String> additionalHeaderNames)

    - #### addAdditionalHeaderName

          public void addAdditionalHeaderName(String name)

    - #### isLogEnabled

          public boolean isLogEnabled()

    - #### setLogEnabled

          public void setLogEnabled(boolean logEnabled)

Copyright © 2020. All Rights Reserved.