public final class SocksProxySocketFactory extends SocketFactory
Constructor and Description |
---|
SocksProxySocketFactory(Proxy proxy) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress addr,
int port) |
Socket |
createSocket(InetAddress addr,
int port,
InetAddress localHostAddr,
int localPort) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHostAddr,
int localPort) |
getDefault
private final Proxy proxy
public SocksProxySocketFactory(Proxy proxy)
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress addr, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress addr, int port, InetAddress localHostAddr, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localHostAddr, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
Copyright © 2020 Apache NiFi Project. All rights reserved.