com.aliyun.oss.model

## 类 BucketReferer

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.BucketReferer

-     public class BucketReferer
      extends GenericResult

  The `Bucket`'s http referer information.

  It defines the whitelist of websites that could access a bucket. Empty http referer could also be included. Http referer is typically used to prevent unauthorized access from other website.

- - ### 构造器概要

    构造器
    构造器和说明
    `BucketReferer()`
    `BucketReferer(boolean allowEmptyReferer, List<String> refererList)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `allowEmpty()` 已过时。
    `void` | `clearRefererList()`
    `List<String>` | `getRefererList()`
    `boolean` | `isAllowEmptyReferer()`
    `void` | `setAllowEmptyReferer(boolean allowEmptyReferer)`
    `void` | `setRefererList(List<String> refererList)`

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

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

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

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

    - #### BucketReferer

          public BucketReferer()

    - #### BucketReferer

          public BucketReferer(boolean allowEmptyReferer,
                       List<String> refererList)

  - ### 方法详细资料

    - #### allowEmpty

          @Deprecated
          public boolean allowEmpty()

      已过时。

    - #### isAllowEmptyReferer

          public boolean isAllowEmptyReferer()

    - #### setAllowEmptyReferer

          public void setAllowEmptyReferer(boolean allowEmptyReferer)

    - #### getRefererList

          public List<String> getRefererList()

    - #### setRefererList

          public void setRefererList(List<String> refererList)

    - #### clearRefererList

          public void clearRefererList()

Copyright © 2020. All Rights Reserved.