public class HttpTransportInfo extends Object implements TransportInfo, Serializable
This class represents information about a connection to a Web Service via the HTTP/S transport.
In particular, the class is used to get or set the username and password when invoking a Web Service. It can be used for both direct invokes and for invokes via a proxy server.
Modifier and Type | Method and Description |
---|---|
byte[] |
getPassword()
Deprecated.
Returns the password associated with a direct invoke of a Web Service.
|
Proxy |
getProxy()
Deprecated.
Returns a Proxy object that represents the proxy server that is proxying
the invoke of a Web Service.
|
byte[] |
getProxyPassword()
Deprecated.
Returns the password associated with an invoke of a Web Service via a
proxy server.
|
byte[] |
getProxyUsername()
Deprecated.
Returns the username associated with an invoke of a Web Service via a
proxy server.
|
byte[] |
getUsername()
Deprecated.
Returns the username associated with a direct invoke of a Web Service.
|
void |
setPassword(byte[] password)
Deprecated.
Sets the password associated with a direct invoke of a Web Service.
|
void |
setProxy(Proxy proxy)
Deprecated.
Specifies the proxy server that is proxying the invoke of a Web Service.
|
void |
setProxyPassword(byte[] proxyPassword)
Deprecated.
Sets the password associated with an invoke of a Web Service via a
proxy server.
|
void |
setProxyUsername(byte[] proxyUsername)
Deprecated.
Sets the username associated with an invoke of a Web Service via a
proxy server.
|
void |
setUsername(byte[] username)
Deprecated.
Sets the username associated with a direct invoke of a Web Service.
|
public byte[] getUsername()
public void setUsername(byte[] username)
public byte[] getPassword()
public void setPassword(byte[] password)
public byte[] getProxyUsername()
public void setProxyUsername(byte[] proxyUsername)
public byte[] getProxyPassword()
public void setProxyPassword(byte[] proxyPassword)
public Proxy getProxy()
public void setProxy(Proxy proxy)