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 SocketFactoryHelperIOExceptionpublic final Socket createClientSocket(String remoteHost, int remotePort) throws IOException, org.apache.http.HttpException
createClientSocket in interface SocketFactoryHelperIOExceptionorg.apache.http.HttpExceptionCopyright © 2019. All rights reserved.