Class WxGatewayCustomConfig

    • Constructor Detail

      • WxGatewayCustomConfig

        public WxGatewayCustomConfig()
      • WxGatewayCustomConfig

        public WxGatewayCustomConfig​(WxGatewayCustomConfig 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

      • getIsOpenXRealIp

        public Boolean getIsOpenXRealIp()
        Get 是否开启x-real-ip
        Returns:
        IsOpenXRealIp 是否开启x-real-ip
      • setIsOpenXRealIp

        public void setIsOpenXRealIp​(Boolean IsOpenXRealIp)
        Set 是否开启x-real-ip
        Parameters:
        IsOpenXRealIp - 是否开启x-real-ip
      • getBanConfig

        public BanConfig getBanConfig()
        Get 封禁配置
        Returns:
        BanConfig 封禁配置
      • setBanConfig

        public void setBanConfig​(BanConfig BanConfig)
        Set 封禁配置
        Parameters:
        BanConfig - 封禁配置
      • getSourceIpType

        public String getSourceIpType()
        Get 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
        Returns:
        SourceIpType 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
      • setSourceIpType

        public void setSourceIpType​(String SourceIpType)
        Set 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
        Parameters:
        SourceIpType - 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
      • getLogConfig

        public CustomLogConfig getLogConfig()
        Get 日志信息
        Returns:
        LogConfig 日志信息
      • setLogConfig

        public void setLogConfig​(CustomLogConfig LogConfig)
        Set 日志信息
        Parameters:
        LogConfig - 日志信息
      • getIsAcceptHttpOne

        public Boolean getIsAcceptHttpOne()
        Get 是否开启http1.0
        Returns:
        IsAcceptHttpOne 是否开启http1.0
      • setIsAcceptHttpOne

        public void setIsAcceptHttpOne​(Boolean IsAcceptHttpOne)
        Set 是否开启http1.0
        Parameters:
        IsAcceptHttpOne - 是否开启http1.0