类 AntiLeech

  • 所有已实现的接口:
    Serializable

    public class AntiLeech
    extends Object
    implements Serializable
    Reprsents the anti-leech settings. Currently only refer & single ip restriction are supported.
    另请参阅:
    序列化表格
    • 构造器详细资料

      • AntiLeech

        public AntiLeech()
    • 方法详细资料

      • getRefer

        public Refer getRefer()
        Returns the refer
        返回:
        the refer
      • setRefer

        public void setRefer​(Refer refer)
        Sets the refer
        参数:
        refer - the refer
      • withRefer

        public AntiLeech withRefer​(Refer refer)
        Sets the refer and returns this object.
        参数:
        refer - the refer
        返回:
        this object
      • getIp

        public IP getIp()
        Returns the IP
        返回:
        the IP
      • setIp

        public void setIp​(IP ip)
        Sets the IP.
        参数:
        ip - the IP
      • withIp

        public AntiLeech withIp​(IP ip)
        Sets the IP and returns this object
        参数:
        ip - the IP
        返回:
        this object