|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.DefaultProtocolFilter
com.sun.grizzly.arp.AsyncProtocolFilter
com.sun.grizzly.ssl.SSLAsyncProtocolFilter
public class SSLAsyncProtocolFilter
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.
| Field Summary | |
|---|---|
protected SSLImplementation |
sslImplementation
The Coyote SSLImplementation used to retrive the SSLContext |
| Fields inherited from class com.sun.grizzly.arp.AsyncProtocolFilter |
|---|
bbSize, interceptor |
| Fields inherited from class com.sun.grizzly.http.DefaultProtocolFilter |
|---|
address, algorithmClass, logger, port |
| Fields inherited from interface com.sun.grizzly.ProtocolFilter |
|---|
SUCCESSFUL_READ |
| Constructor Summary | |
|---|---|
SSLAsyncProtocolFilter(Class algorithmClass,
InetAddress address,
int port,
SSLImplementation sslImplementation)
Constructs a new SSLAsyncProtocolFilter. |
|
SSLAsyncProtocolFilter(Class algorithmClass,
int port,
SSLImplementation sslImplementation)
Deprecated. Use com.sun.grizzly.ssl.SSLAsyncProtocolFilter#AsyncProtocolFilter(Class, java.net.InetAddress, int) |
|
| Method Summary | |
|---|---|
protected void |
configureInputBuffer(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
Configure InputReader. |
protected void |
configureProcessorTask(ProcessorTask processorTask,
Context context,
StreamAlgorithm streamAlgorithm,
InputStream inputStream)
Configure SSLProcessorTask. |
protected InputReader |
createInputReader()
Creates InputReader |
protected boolean |
isSecure()
Is ProtocolFilter secured |
| Methods inherited from class com.sun.grizzly.arp.AsyncProtocolFilter |
|---|
execute, getInterceptor, setInterceptor, taskEvent |
| Methods inherited from class com.sun.grizzly.http.DefaultProtocolFilter |
|---|
configureProcessorTask, postExecute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SSLImplementation sslImplementation
SSLContext
| Constructor Detail |
|---|
@Deprecated
public SSLAsyncProtocolFilter(Class algorithmClass,
int port,
SSLImplementation sslImplementation)
com.sun.grizzly.ssl.SSLAsyncProtocolFilter#AsyncProtocolFilter(Class, java.net.InetAddress, int)
Invokes com.sun.grizzly.ssl.SSLAsyncProtocolFilter#AsyncProtocolFilter(Class, java.net.InetAddress, int)
with a null InetAddress.
algorithmClass - the StreamAlgorithmport - the network port to associate with this filtersslImplementation - the SSLImplementation to associate with
this filter
public SSLAsyncProtocolFilter(Class algorithmClass,
InetAddress address,
int port,
SSLImplementation sslImplementation)
Constructs a new SSLAsyncProtocolFilter.
algorithmClass - the StreamAlgorithmaddress - the network address to associate with this filterport - the network port to associate with this filtersslImplementation - the SSLImplementation to associate with
this filter| Method Detail |
|---|
protected void configureProcessorTask(ProcessorTask processorTask,
Context context,
StreamAlgorithm streamAlgorithm,
InputStream inputStream)
SSLProcessorTask.
configureProcessorTask in class AsyncProtocolFilterprotected InputReader createInputReader()
InputReader
createInputReader in class AsyncProtocolFilter
protected void configureInputBuffer(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
InputReader.
configureInputBuffer in class AsyncProtocolFilterprotected boolean isSecure()
ProtocolFilter secured
isSecure in class DefaultProtocolFilterProtocolFilter secured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||