Class ProxyConfiguration.Proxy

    • Method Detail

      • getAddress

        public Origin.Address getAddress()
        Deprecated.
        Returns:
        the address of this proxy
      • isSecure

        public boolean isSecure()
        Deprecated.
        Returns:
        whether the connection to the proxy must be secured via TLS
      • getSslContextFactory

        public SslContextFactory.Client getSslContextFactory()
        Deprecated.
        Returns:
        the optional SslContextFactory to use when connecting to proxies
      • getURI

        public URI getURI()
        Deprecated.
        Returns:
        an URI representing this proxy, or null if no URI can represent this proxy
      • matches

        public boolean matches​(Origin origin)
        Deprecated.
        Matches the given origin with the included and excluded addresses, returning true if the given origin is to be proxied.
        Parameters:
        origin - the origin to test for proxying
        Returns:
        true if the origin must be proxied, false otherwise