public final class PlainSocketFactory extends Object implements SocketFactoryHelper
Constructor and Description |
---|
PlainSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createClientSocket(String remoteHost,
int remotePort) |
ServerSocket |
createServerSocket(int localPort) |
public final ServerSocket createServerSocket(int localPort) throws IOException
createServerSocket
in interface SocketFactoryHelper
IOException
public final Socket createClientSocket(String remoteHost, int remotePort) throws IOException, org.apache.http.HttpException
createClientSocket
in interface SocketFactoryHelper
IOException
org.apache.http.HttpException
Copyright © 2019. All rights reserved.