org.ws4d.java.communication
Class HTTPSBinding
java.lang.Object
org.ws4d.java.communication.HTTPBinding
org.ws4d.java.communication.HTTPSBinding
- All Implemented Interfaces:
- CommunicationBinding
public class HTTPSBinding
- extends HTTPBinding
This Binding must be used for a secure service or a secure device.
Constructor Summary |
HTTPSBinding(IPAddress ipAddress,
int port,
java.lang.String path)
Constructor. |
Method Summary |
java.lang.String |
getAlias()
|
int |
getType()
|
java.lang.String |
getURISchema()
|
void |
setAlias(java.lang.String alias)
Sets the alias of the certificate to use for SSL Encryption. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HTTPSBinding
public HTTPSBinding(IPAddress ipAddress,
int port,
java.lang.String path)
- Constructor.
Behaves like the HTTPBinding. The alias of the certificate that will be
used is extrapolated from the address, the port and the path.
- Parameters:
ipAddress
- port
- path
-
setAlias
public void setAlias(java.lang.String alias)
- Sets the alias of the certificate to use for SSL Encryption. This is only
necessary for HTTPS Sockets.
- Parameters:
alias
-
getAlias
public java.lang.String getAlias()
getType
public int getType()
- Specified by:
getType
in interface CommunicationBinding
- Overrides:
getType
in class HTTPBinding
getURISchema
public java.lang.String getURISchema()
- Overrides:
getURISchema
in class HTTPBinding