类 ObjectRepleaceMetadata

java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.ObjectRepleaceMetadata

public class ObjectRepleaceMetadata extends Object
Response headers that can be rewritten during object download
  • 字段详细资料

    • contentType

      private String contentType
    • contentLanguage

      private String contentLanguage
    • expires

      private String expires
    • cacheControl

      private String cacheControl
    • contentDisposition

      private String contentDisposition
    • contentEncoding

      private String contentEncoding
  • 构造器详细资料

    • 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