Package org.apache.http.conn.scheme
Class SchemeLayeredSocketFactoryAdaptor
java.lang.Object
org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor
org.apache.http.conn.scheme.SchemeLayeredSocketFactoryAdaptor
- All Implemented Interfaces:
SchemeLayeredSocketFactory
,SchemeSocketFactory
@Deprecated
class SchemeLayeredSocketFactoryAdaptor
extends SchemeSocketFactoryAdaptor
implements SchemeLayeredSocketFactory
Deprecated.
(4.2) do not use
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLayeredSocket
(Socket socket, String target, int port, org.apache.http.params.HttpParams params) Deprecated.Returns a socket connected to the given host that is layered over an existing socket.Methods inherited from class org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor
connectSocket, createSocket, equals, getFactory, hashCode, isSecure
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.http.conn.scheme.SchemeSocketFactory
connectSocket, createSocket, isSecure
-
Field Details
-
factory
Deprecated.
-
-
Constructor Details
-
SchemeLayeredSocketFactoryAdaptor
SchemeLayeredSocketFactoryAdaptor(LayeredSocketFactory factory) Deprecated.
-
-
Method Details
-
createLayeredSocket
public Socket createLayeredSocket(Socket socket, String target, int port, org.apache.http.params.HttpParams params) throws IOException, UnknownHostException Deprecated.Description copied from interface:SchemeLayeredSocketFactory
Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.- Specified by:
createLayeredSocket
in interfaceSchemeLayeredSocketFactory
- Parameters:
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target hostparams
- HTTP parameters- Returns:
- Socket a new socket
- Throws:
IOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be determined
-