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.
Constructor and Description |
---|
BucketReferer() |
BucketReferer(boolean allowEmptyReferer,
List<String> refererList) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowEmpty()
Deprecated.
|
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 © 2021. All Rights Reserved.