@Immutable public class UnixConnectionSocketFactory extends Object implements org.apache.http.conn.socket.ConnectionSocketFactory
Constructor and Description |
---|
UnixConnectionSocketFactory(URI socketUri) |
Modifier and Type | Method and Description |
---|---|
Socket |
connectSocket(int connectTimeout,
Socket socket,
org.apache.http.HttpHost host,
InetSocketAddress remoteAddress,
InetSocketAddress localAddress,
org.apache.http.protocol.HttpContext context) |
Socket |
createSocket(org.apache.http.protocol.HttpContext context) |
static URI |
sanitizeUri(URI uri) |
public UnixConnectionSocketFactory(URI socketUri)
public Socket createSocket(org.apache.http.protocol.HttpContext context) throws IOException
createSocket
in interface org.apache.http.conn.socket.ConnectionSocketFactory
IOException
public Socket connectSocket(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) throws IOException
connectSocket
in interface org.apache.http.conn.socket.ConnectionSocketFactory
IOException
Copyright © 2016. All Rights Reserved.