public class TestSocketFactory
extends org.apache.http.conn.scheme.PlainSocketFactory
Constructor and Description |
---|
TestSocketFactory() |
Modifier and Type | Method and Description |
---|---|
java.net.Socket |
connectSocket(java.net.Socket socket,
java.net.InetSocketAddress remote,
java.net.InetSocketAddress local,
org.apache.http.params.HttpParams params) |
java.net.Socket |
createSocket(org.apache.http.params.HttpParams params) |
public java.net.Socket connectSocket(java.net.Socket socket, java.net.InetSocketAddress remote, java.net.InetSocketAddress local, org.apache.http.params.HttpParams params) throws java.io.IOException
connectSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
connectSocket
in class org.apache.http.conn.scheme.PlainSocketFactory
java.io.IOException
public java.net.Socket createSocket(org.apache.http.params.HttpParams params)
createSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
createSocket
in class org.apache.http.conn.scheme.PlainSocketFactory