Class RulesSettingAction

    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
    • Constructor Detail

      • RulesSettingAction

        public RulesSettingAction()
      • RulesSettingAction

        public 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.
    • Method Detail

      • getAction

        public 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。
Returns:
Action 功能名称,取值有:
  • 访问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。
  • Parameters:
    Action - 功能名称,取值有:
  • 访问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。