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 |
clearBlackRefererList() |
void |
clearRefererList() |
List<String> |
getBlackRefererList() |
List<String> |
getRefererList() |
boolean |
isAllowEmptyReferer() |
Boolean |
isAllowTruncateQueryString() |
void |
setAllowEmptyReferer(boolean allowEmptyReferer) |
void |
setAllowTruncateQueryString(Boolean allowTruncateQueryString) |
void |
setBlackRefererList(List<String> blackRefererList) |
void |
setRefererList(List<String> refererList) |
BucketReferer |
withAllowEmptyReferer(boolean allowEmptyReferer) |
BucketReferer |
withAllowTruncateQueryString(Boolean allowTruncateQueryString) |
BucketReferer |
withBlackRefererList(List<String> blackRefererList) |
BucketReferer |
withRefererList(List<String> refererList) |
getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC@Deprecated public boolean allowEmpty()
public boolean isAllowEmptyReferer()
public void setAllowEmptyReferer(boolean allowEmptyReferer)
public BucketReferer withAllowEmptyReferer(boolean allowEmptyReferer)
public BucketReferer withRefererList(List<String> refererList)
public void clearRefererList()
public Boolean isAllowTruncateQueryString()
public void setAllowTruncateQueryString(Boolean allowTruncateQueryString)
public BucketReferer withAllowTruncateQueryString(Boolean allowTruncateQueryString)
public BucketReferer withBlackRefererList(List<String> blackRefererList)
public void clearBlackRefererList()
Copyright © 2023. All Rights Reserved.