public class Proxy
extends java.lang.Object
| Constructor and Description |
|---|
Proxy(java.lang.String host,
int port)
Constructor for Proxy.
|
Proxy(java.lang.String host,
int port,
boolean isSecure)
Object constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
host()
host.
|
boolean |
isSecure()
isSecure.
|
int |
port()
port.
|
void |
setHost(java.lang.String host)
Setter for the field
host. |
void |
setPort(int port)
Setter for the field
port. |
void |
setSecure(boolean isSecure)
setSecure.
|
public Proxy(java.lang.String host,
int port)
Constructor for Proxy.
host - a String object.port - a int.public Proxy(java.lang.String host,
int port,
boolean isSecure)
host - Proxy hostport - Proxy portisSecure - true if secure connection is to be used.public int port()
port.
public void setPort(int port)
Setter for the field port.
port - a int.public java.lang.String host()
host.
String object.public void setHost(java.lang.String host)
Setter for the field host.
host - a String object.public boolean isSecure()
isSecure.
public void setSecure(boolean isSecure)
setSecure.
isSecure - a boolean.Copyright © 2022. All rights reserved.