public class RulesSettingAction extends AbstractModel
Constructor and Description |
---|
RulesSettingAction() |
RulesSettingAction(RulesSettingAction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get 功能名称,取值有:
访问URL 重写(AccessUrlRedirect);
回源 URL 重写 (UpstreamUrlRedirect);
自定义错误页面
(ErrorPage);
QUIC(QUIC);
WebSocket (WebSocket);
视频拖拽(VideoSeek);
Token 鉴权(Authentication);
自定义CacheKey(CacheKey);
节点缓存 TTL (Cache);
浏览器缓存 TTL(MaxAge);
离线缓存(OfflineCache);
智能加速(SmartRouting);
分片回源(RangeOriginPull);
HTTP/2 回源(UpstreamHttp2);
Host Header 重写(HostHeader);
强制 HTTPS(ForceRedirect);
回源 HTTPS(OriginPullProtocol);
缓存预刷新(CachePrefresh);
智能压缩(Compression);
修改 HTTP 请求头(RequestHeader);
修改HTTP响应头(ResponseHeader);
状态码缓存 TTL(StatusCodeCache);
Hsts;
ClientIpHeader;
TlsVersion;
OcspStapling。
|
RulesProperties[] |
getProperties()
Get 参数信息。
|
void |
setAction(String Action)
Set 功能名称,取值有:
访问URL 重写(AccessUrlRedirect);
回源 URL 重写 (UpstreamUrlRedirect);
自定义错误页面
(ErrorPage);
QUIC(QUIC);
WebSocket (WebSocket);
视频拖拽(VideoSeek);
Token 鉴权(Authentication);
自定义CacheKey(CacheKey);
节点缓存 TTL (Cache);
浏览器缓存 TTL(MaxAge);
离线缓存(OfflineCache);
智能加速(SmartRouting);
分片回源(RangeOriginPull);
HTTP/2 回源(UpstreamHttp2);
Host Header 重写(HostHeader);
强制 HTTPS(ForceRedirect);
回源 HTTPS(OriginPullProtocol);
缓存预刷新(CachePrefresh);
智能压缩(Compression);
修改 HTTP 请求头(RequestHeader);
修改HTTP响应头(ResponseHeader);
状态码缓存 TTL(StatusCodeCache);
Hsts;
ClientIpHeader;
TlsVersion;
OcspStapling。
|
void |
setProperties(RulesProperties[] Properties)
Set 参数信息。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RulesSettingAction()
public RulesSettingAction(RulesSettingAction source)
public String getAction()
public void setAction(String Action)
Action
- 功能名称,取值有:
public RulesProperties[] getProperties()
public void setProperties(RulesProperties[] Properties)
Properties
- 参数信息。Copyright © 2022. All rights reserved.