com.obs.services.model

## 类 ObjectRepleaceMetadata

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

-     public class ObjectRepleaceMetadata
      extends Object

  Response headers that can be rewritten during object download

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getCacheControl()` Obtain the rewritten "Cache-Control" header in the response.
    `String` | `getContentDisposition()` Obtain the rewritten "Content-Disposition" header in the response.
    `String` | `getContentEncoding()` Obtain the rewritten "Content-Encoding" header in the response.
    `String` | `getContentLanguage()` Obtain the rewritten "Content-Language" header in the response.
    `String` | `getContentType()` Obtain the rewritten "Content-Type" header in the response.
    `String` | `getExpires()` Obtain the rewritten "Expires" header in the response.
    `void` | `setCacheControl(String cacheControl)` Rewrite the "Cache-Control" header in the response.
    `void` | `setContentDisposition(String contentDisposition)` Rewrite the "Content-Disposition" header in the response.
    `void` | `setContentEncoding(String contentEncoding)` Rewrite the "Content-Encoding" header in the response.
    `void` | `setContentLanguage(String contentLanguage)` Rewrite the "Content-Language" header in the response.
    `void` | `setContentType(String contentType)` Rewrite the "Content-Type" header in the response.
    `void` | `setExpires(String expires)` Rewrite the "Expires" header in the response.
    `String` | `toString()`

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

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

- - ### 构造器详细资料

    - #### ObjectRepleaceMetadata

          public ObjectRepleaceMetadata()

  - ### 方法详细资料

    - #### getContentType

          public String getContentType()

      Obtain the rewritten "Content-Type" header in the response.
      返回:
        "Content-Type" header in the response

    - #### setContentType

          public void setContentType(String contentType)

      Rewrite the "Content-Type" header in the response.
      参数:
        `contentType` - "Content-Type" header in the response

    - #### getContentLanguage

          public String getContentLanguage()

      Obtain the rewritten "Content-Language" header in the response.
      返回:
        "Content-Language" header in the response

    - #### setContentLanguage

          public void setContentLanguage(String contentLanguage)

      Rewrite the "Content-Language" header in the response.
      参数:
        `contentLanguage` - "Content-Language" header in the response

    - #### getExpires

          public String getExpires()

      Obtain the rewritten "Expires" header in the response.
      返回:
        "Expires" header in the response

    - #### setExpires

          public void setExpires(String expires)

      Rewrite the "Expires" header in the response.
      参数:
        `expires` - Rewritten "Expires" header in the response

    - #### getCacheControl

          public String getCacheControl()

      Obtain the rewritten "Cache-Control" header in the response.
      返回:
        "Cache-Control" header in the response

    - #### setCacheControl

          public void setCacheControl(String cacheControl)

      Rewrite the "Cache-Control" header in the response.
      参数:
        `cacheControl` - "Cache-Control" header in the response

    - #### getContentDisposition

          public String getContentDisposition()

      Obtain the rewritten "Content-Disposition" header in the response.
      返回:
        "Content-Disposition" header in the response

    - #### setContentDisposition

          public void setContentDisposition(String contentDisposition)

      Rewrite the "Content-Disposition" header in the response.
      参数:
        `contentDisposition` - "Content-Disposition" header in the response

    - #### getContentEncoding

          public String getContentEncoding()

      Obtain the rewritten "Content-Encoding" header in the response.
      返回:
        "Content-Encoding" header in the response

    - #### setContentEncoding

          public void setContentEncoding(String contentEncoding)

      Rewrite the "Content-Encoding" header in the response.
      参数:
        `contentEncoding` - "Content-Encoding" header in the response

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.