com.sun.grizzly.ssl
Class SSLDefaultProtocolFilter

java.lang.Object
  extended by com.sun.grizzly.http.DefaultProtocolFilter
      extended by com.sun.grizzly.ssl.SSLDefaultProtocolFilter
All Implemented Interfaces:
ProtocolFilter

public class SSLDefaultProtocolFilter
extends DefaultProtocolFilter

SSL support over NIO. This Task handles the SSL requests using a non blocking socket. The SSL handshake is done using this class. Once the handshake is successful, the SSLProcessorTask is executed.

Author:
Jean-Francois Arcand

Field Summary
protected  SSLImplementation sslImplementation
          The Coyote SSLImplementation used to retrive the SSLContext
 
Fields inherited from class com.sun.grizzly.http.DefaultProtocolFilter
logger
 
Fields inherited from interface com.sun.grizzly.ProtocolFilter
SUCCESSFUL_READ
 
Constructor Summary
SSLDefaultProtocolFilter(Class algorithmClass, int port, SSLImplementation sslImplementation)
           
 
Method Summary
protected  void configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler)
          Configure ProcessorTask.
protected  boolean isSecure()
          Is ProtocolFilter secured
 
Methods inherited from class com.sun.grizzly.http.DefaultProtocolFilter
configureByteBufferInputStream, execute, postExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sslImplementation

protected SSLImplementation sslImplementation
The Coyote SSLImplementation used to retrive the SSLContext

Constructor Detail

SSLDefaultProtocolFilter

public SSLDefaultProtocolFilter(Class algorithmClass,
                                int port,
                                SSLImplementation sslImplementation)
Method Detail

configureProcessorTask

protected void configureProcessorTask(ProcessorTask processorTask,
                                      Context context,
                                      HttpWorkerThread workerThread,
                                      Interceptor handler)
Configure ProcessorTask.

Overrides:
configureProcessorTask in class DefaultProtocolFilter

isSecure

protected boolean isSecure()
Is ProtocolFilter secured

Overrides:
isSecure in class DefaultProtocolFilter
Returns:
is ProtocolFilter secured


Copyright © 2008 SUN Microsystems. All Rights Reserved.