public class BucketReferer extends GenericResult
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) |
getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC@Deprecated public boolean allowEmpty()
public boolean isAllowEmptyReferer()
public void setAllowEmptyReferer(boolean allowEmptyReferer)
public void clearRefererList()
Copyright © 2020. All Rights Reserved.