public interface SecureProtocolSocketFactory extends ProtocolSocketFactory
ProtocolSocketFactory| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose)
Returns a socket connected to the given host that is layered over an
existing socket.
|
createSocket, createSocket, createSocketSocket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
socket - the existing sockethost - the host name/IPport - the port on the hostautoClose - a flag for closing the underling socket when the created
socket is closedIOException - if an I/O error occurs while creating the socketUnknownHostException - if the IP address of the host cannot be
determinedCopyright © 2021 Internet2. All rights reserved.