org.w3c.jigsaw.https
Class SSLAdapter
java.lang.Object
|
+--org.w3c.jigsaw.https.SSLAdapter
- public class SSLAdapter
- extends java.lang.Object
Field Summary |
static java.lang.String |
SSL_ENABLED_P
property key for enabling TLS support |
Constructor Summary |
SSLAdapter(httpd server)
constructor for a TLS support adapter |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SSL_ENABLED_P
public static final java.lang.String SSL_ENABLED_P
- property key for enabling TLS support
SSLAdapter
public SSLAdapter(httpd server)
- constructor for a TLS support adapter
- Parameters:
server
- reference to the daemon in question
initializeProperties
public void initializeProperties()
throws ServerHandlerInitException
- method for initializing the properties of a daemon
- Throws:
- ServerHandlerInitException - thrown if initialization fails
perform
public void perform(RequestInterface req)
throws ProtocolException
- method for preparing a reply interface for a request
- Parameters:
req
- the current request to be handled- Throws:
- ProtocolException - thrown if the request url is malformed
getURL
public java.net.URL getURL()
- method for supplying a daemon uri
- Returns:
- uri of the daemon in question
sslEnabled
public boolean sslEnabled()
- method for indicating TLS support
- Returns:
- flag for indicating TLS support enabled