| org.apache.harmony.rmi.transport.SocketWrapper org.apache.harmony.rmi.transport.proxy.HttpOutboundSocket
HttpOutboundSocket | public class HttpOutboundSocket extends SocketWrapper implements ProxyConstants(Code) | | Outbound HTTP socket wrapper.
author: Mikhail A. Markov, Vasily Zakharov version: $Revision: 1.1.2.1 $ |
Constructor Summary | |
public | HttpOutboundSocket(String host, int port) Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set). | public | HttpOutboundSocket(Proxy proxy, String host, int port) Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set). | public | HttpOutboundSocket(Proxy proxy, String host, int port, boolean cgi) Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set). |
HttpOutboundSocket | public HttpOutboundSocket(String host, int port) throws IOException(Code) | | Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set).
If proxy is not set, and direct HTTP connections are enabled,
then direct connection is established.
Equivalent to
HttpOutboundSocket.HttpOutboundSocket(Proxy,String,int,boolean)HttpOutboundSocket(new Proxy(), host, port, false) .
Parameters: host - Host to connect to. Parameters: port - Port to connect to. throws: IOException - If I/O error occurs. |
HttpOutboundSocket | public HttpOutboundSocket(Proxy proxy, String host, int port) throws IOException(Code) | | Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set).
If proxy is not set, and direct HTTP connections are enabled,
then direct connection is established.
Equivalent to
HttpOutboundSocket.HttpOutboundSocket(Proxy,String,int,boolean)HttpOutboundSocket(proxy, host, port, false) .
Parameters: proxy - Proxy configuration. Parameters: host - Host to connect to. Parameters: port - Port to connect to. throws: IOException - If I/O error occurs. |
HttpOutboundSocket | public HttpOutboundSocket(Proxy proxy, String host, int port, boolean cgi) throws IOException(Code) | | Returns new HttpOutboundSocket instance connected
to specified host and port, probably through a proxy (if proxy is set).
If proxy is not set, and direct HTTP connections are enabled,
then direct connection is established.
Parameters: proxy - Proxy configuration. Parameters: host - Host to connect to. Parameters: port - Port to connect to. Parameters: cgi - If this is CGI stream. throws: IOException - If I/O error occurs. |
|
|