public class MuleSecureProtocolSocketFactory extends Object implements SecureProtocolSocketFactory
Constructor and Description |
---|
MuleSecureProtocolSocketFactory(SSLSocketFactory factory) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params) |
protected Socket |
createSocketWithTimeout(String host,
int port,
InetAddress localAddress,
int localPort,
int timeout) |
public MuleSecureProtocolSocketFactory(SSLSocketFactory factory)
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket
in interface SecureProtocolSocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in interface ProtocolSocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket
in interface ProtocolSocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, HttpConnectionParams params) throws IOException, UnknownHostException, ConnectTimeoutException
createSocket
in interface ProtocolSocketFactory
IOException
UnknownHostException
ConnectTimeoutException
protected Socket createSocketWithTimeout(String host, int port, InetAddress localAddress, int localPort, int timeout) throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.