Class SlowHCPlainConnectionSocketFactory
-
- All Implemented Interfaces:
-
org.apache.http.conn.socket.ConnectionSocketFactory
public class SlowHCPlainConnectionSocketFactory extends PlainConnectionSocketFactoryApache HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems
- Since:
5.0
-
-
Field Summary
Fields Modifier and Type Field Description public final static PlainConnectionSocketFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description SlowHCPlainConnectionSocketFactory(int cps)Create a factory
-
Method Summary
Modifier and Type Method Description SocketcreateSocket(HttpContext context)-
-
Method Detail
-
createSocket
Socket createSocket(HttpContext context)
-
-
-
-