|
||||||||||
| 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.ssl.SSLDefaultProtocolFilter
public class SSLDefaultProtocolFilter
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.http.DefaultProtocolFilter |
|---|
address, algorithmClass, logger, port |
| Fields inherited from interface com.sun.grizzly.ProtocolFilter |
|---|
SUCCESSFUL_READ |
| Constructor Summary | |
|---|---|
SSLDefaultProtocolFilter(Class algorithmClass,
InetAddress address,
int port,
SSLImplementation sslImplementation)
Constructs a new SSLDefaultProtocolFilter. |
|
SSLDefaultProtocolFilter(Class algorithmClass,
int port,
SSLImplementation sslImplementation)
Deprecated. Use com.sun.grizzly.ssl.SSLDefaultProtocolFilter#DefaultProtocolFilter(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)
Configure ProcessorTask. |
protected boolean |
isSecure()
Is ProtocolFilter secured |
| Methods inherited from class com.sun.grizzly.http.DefaultProtocolFilter |
|---|
execute, 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 |
|---|
public SSLDefaultProtocolFilter(Class algorithmClass,
int port,
SSLImplementation sslImplementation)
com.sun.grizzly.ssl.SSLDefaultProtocolFilter#DefaultProtocolFilter(Class, java.net.InetAddress, int)
Invokes SSLDefaultProtocolFilter(Class, int, com.sun.grizzly.util.net.SSLImplementation)
with a null InetAddress.
algorithmClass - the StreamAlgorithmport - the network port to associate with this filtersslImplementation - the SSLImplementation to associate with
this filter
public SSLDefaultProtocolFilter(Class algorithmClass,
InetAddress address,
int port,
SSLImplementation sslImplementation)
Constructs a new SSLDefaultProtocolFilter.
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)
ProcessorTask.
configureProcessorTask in class DefaultProtocolFilter
protected void configureInputBuffer(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
InputReader.
configureInputBuffer in class DefaultProtocolFilterprotected 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 | |||||||||