org.ws4d.java.communication
Class HTTPSBinding

java.lang.Object
  extended by org.ws4d.java.communication.HTTPBinding
      extended by 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.


Field Summary
 
Fields inherited from class org.ws4d.java.communication.HTTPBinding
DISCOVERY_BINDING, HTTP_BINDING, HTTPS_BINDING
 
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 org.ws4d.java.communication.HTTPBinding
equals, getCommunicationManagerId, getHostAddress, getPath, getPort, getTransportAddress, hashCode, resetAutoPort, setPort, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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