Class ProxyForURI

  • All Implemented Interfaces:
    com.google.common.base.Function<URI,​Proxy>, Function<URI,​Proxy>

    @Singleton
    public class ProxyForURI
    extends Object
    implements com.google.common.base.Function<URI,​Proxy>
    • Method Detail

      • apply

        public Proxy apply​(URI endpoint)
        Specified by:
        apply in interface com.google.common.base.Function<URI,​Proxy>
        Specified by:
        apply in interface Function<URI,​Proxy>
        Parameters:
        endpoint -
        • http URI for http connections
        • https URI for https connections
        • ftp URI for ftp connections
        • socket://host:port for tcp client sockets connections