public class HttpProxySocket extends DefaultSocket
| Constructor and Description |
|---|
HttpProxySocket(Phantom phantom,
Proxy proxy,
URI uri,
boolean useSSL)
Constructs the HttpProxySocket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createSocket()
Creates a stream socket and connects it to the specified port number
on the named host.
|
close, getInetAddress, getInputStream, getLocalAddress, getMainSocket, getOutputStream, getPlainSocket, setTimeoutpublic HttpProxySocket(Phantom phantom, Proxy proxy, URI uri, boolean useSSL) throws IOException
proxy - The HTTP proxy.uri - The destination URI.useSSL - Flag for SSL usage.IOException - For socket/communication/authentication errors.public void createSocket()
throws UnknownHostException,
IOException
createSocket in interface SocketInterfacecreateSocket in class DefaultSocketIOException - if an I/O error occurs when creating the socket.UnknownHostExceptionPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.