public class Proxy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
PORT_UNSPECIFIED
the port number that represents port is unassigned
|
Constructor and Description |
---|
Proxy()
Creates a new instance of Proxy
|
Proxy(java.lang.String host,
int port)
Create a proxy given a host name and port number .
|
public static final int PORT_UNSPECIFIED
public Proxy()
public Proxy(java.lang.String host, int port)
host
- the host name of the proxy to be used.port
- the port to send proxied requests on.public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- the host name of the proxy to be used.public int getPort()
public void setPort(int port)
port
- the port to send proxied requests on.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.