com.pax.dal.entity

Class LanProxyInfo

  • java.lang.Object
    • com.pax.dal.entity.LanProxyInfo


  • public class LanProxyInfo
    extends java.lang.Object
    以太网代理。
    Ethernet proxy.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LanProxyInfo() 
      LanProxyInfo(int type, java.lang.String host, java.lang.String port, java.lang.String exclusionList, java.lang.String pac) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getExclusionList() 
      java.lang.String getHost() 
      java.lang.String getPac() 
      java.lang.String getPort() 
      int getType()
      以太网网络代理类型。
      Ethernet proxy type.
      void setExclusionList(java.lang.String exclusionList) 
      void setHost(java.lang.String host) 
      void setPac(java.lang.String pac) 
      void setPort(java.lang.String port) 
      void setType(int type)
      以太网网络代理类型。
      Ethernet proxy type.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LanProxyInfo

        public LanProxyInfo(int type,
                            java.lang.String host,
                            java.lang.String port,
                            java.lang.String exclusionList,
                            java.lang.String pac)
    • Method Detail

      • getType

        public int getType()
        以太网网络代理类型。
        Ethernet proxy type.
        Returns:
        • 0:代表没有网络代理,以前设置的网络代理也将被清空,其他成员变量请赋值为null。
        • 1:代表手动配置网络代理,需要代理服务器主机名(host),端口(port),不使用代理的网址(exclusionList,没有则赋值为null),其他成员变量请赋值为null。
        • 2:代表自动配置网络代理,需要自动配置代理服务器网址(pac),其他成员变量请赋值null。
        • 0:Represents that there is no network proxy, and the previously set network proxy will also be cleared. Please assign null to other member variables.
        • 1:Represents manually configure the network proxy, which requires the host name and port of the proxy server, and the URL of the proxy not to be used (if there is no proxy, the value will be null). For other member variables, the value will be null.
        • 2:Represents the automatic configuration of network proxy. The proxy server URL needs to be automatically configured. Please assign null to other member variables.
      • setType

        public void setType(int type)
        以太网网络代理类型。
        Ethernet proxy type.
        Parameters:
        type -
        • 0:代表没有网络代理,以前设置的网络代理也将被清空,其他成员变量请赋值为null。
        • 1:代表手动配置网络代理,需要代理服务器主机名(host),端口(port),不使用代理的网址(exclusionList,没有则赋值为null),其他成员变量请赋值为null。
        • 2:代表自动配置网络代理,需要自动配置代理服务器网址(pac),其他成员变量请赋值null。
        • 0:Represents that there is no network proxy, and the previously set network proxy will also be cleared. Please assign null to other member variables.
        • 1:Represents manually configure the network proxy, which requires the host name (host) and port (port)of the proxy server, and the URL that not use proxy. (exclusionList, if there is no proxy, the value will be null). For other member variables, the value will be null.
        • 2:Represents the automatic configuration of network proxy. need automatically configured URL of proxy(pac). Please assign null to other member variables.
      • getHost

        public java.lang.String getHost()
        Returns:
        代理服务器主机名。
        Proxy server host name.
      • setHost

        public void setHost(java.lang.String host)
        Parameters:
        host -
        代理服务器主机名。
        Proxy server host name.
      • getPort

        public java.lang.String getPort()
        Returns:
        代理服务器端口。
        Proxy server port.
      • setPort

        public void setPort(java.lang.String port)
        Parameters:
        port -
        代理服务器端口。
        Proxy server port.
      • getExclusionList

        public java.lang.String getExclusionList()
        Returns:
        不使用代理的网址。
        The URL that not use proxy.
      • setExclusionList

        public void setExclusionList(java.lang.String exclusionList)
        Parameters:
        exclusionList -
        不使用代理的网址。
        The URL that not use proxy.
      • getPac

        public java.lang.String getPac()
        Returns:
        代理自动配置的网址。
        Automatically configured URL of proxy.
      • setPac

        public void setPac(java.lang.String pac)
        Parameters:
        pac -
        代理自动配置的网址。
        Automatically configured URL of proxy.