Represents a connection proxy to use when establishing a Connection. An instance of this class be shared by multiple Remotes.
| Type | Name and description |
|---|---|
java.lang.String |
hostProxy host. |
java.lang.String |
nameAdds all type of the ProxyType, in order to omit import in a build script. |
java.lang.String |
passwordProxy password. |
int |
portPort. |
int |
socksVersionSOCKS protocol version. |
ProxyType |
typeProxy protocol type |
java.lang.String |
userProxy user. |
| Constructor and description |
|---|
Proxy
(java.lang.String name1) |
| Type | Name and description |
|---|---|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Proxy host.
Adds all type of the ProxyType, in order to omit import in a build script.
Proxy password. This may be null.
Port.
SOCKS protocol version. This should be set when using ProxyType.SOCKS.
Proxy protocol type
Proxy user. This may be null.
Groovy Documentation