com.sun.grizzly.ssl
Class SSLAsyncProtocolFilter
java.lang.Object
com.sun.grizzly.arp.AsyncProtocolFilter
com.sun.grizzly.ssl.SSLAsyncProtocolFilter
- All Implemented Interfaces:
- TaskListener, ProtocolFilter
public class SSLAsyncProtocolFilter
- extends AsyncProtocolFilter
Asynchronous 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sslImplementation
protected SSLImplementation sslImplementation
- The Coyote SSLImplementation used to retrive the
SSLContext
SSLAsyncProtocolFilter
public SSLAsyncProtocolFilter(Class algorithmClass,
int port,
SSLImplementation sslImplementation)
configureProcessorTask
protected void configureProcessorTask(ProcessorTask processorTask,
Context context,
HttpWorkerThread workerThread,
Interceptor handler,
InputStream inputStream)
- Configure
SSLProcessorTask
.
- Overrides:
configureProcessorTask
in class AsyncProtocolFilter
createByteBufferInputStream
protected ByteBufferInputStream createByteBufferInputStream()
- Creates
ByteBufferInputStream
- Overrides:
createByteBufferInputStream
in class AsyncProtocolFilter
configureByteBufferInputStream
protected void configureByteBufferInputStream(ByteBufferInputStream inputStream,
Context context,
HttpWorkerThread workerThread)
- Configure
ByteBufferInputStream
- Overrides:
configureByteBufferInputStream
in class AsyncProtocolFilter
isSecure
protected boolean isSecure()
- Is
ProtocolFilter
secured
- Overrides:
isSecure
in class AsyncProtocolFilter
- Returns:
- is
ProtocolFilter
secured
Copyright © 2009 SUN Microsystems. All Rights Reserved.