com.sun.grizzly.filter
Class SSLPreProcessor
java.lang.Object
com.sun.grizzly.filter.SSLPreProcessor
- All Implemented Interfaces:
- AsyncQueueDataProcessor
public class SSLPreProcessor
- extends Object
- implements AsyncQueueDataProcessor
- Version:
- 1.0
- Author:
- John Vieten 20.10.2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSL_PRE_PROCESSOR_KEY
public static final String SSL_PRE_PROCESSOR_KEY
- See Also:
- Constant Field Values
SSLPreProcessor
public SSLPreProcessor(SSLEngine sslEngine)
getInternalByteBuffer
public ByteBuffer getInternalByteBuffer()
- Description copied from interface:
AsyncQueueDataProcessor
- Method returns the processor's internal
ByteBuffer
.
- Specified by:
getInternalByteBuffer
in interface AsyncQueueDataProcessor
- Returns:
- internal processor's
ByteBuffer
process
public void process(ByteBuffer byteBuffer)
throws IOException
- Description copied from interface:
AsyncQueueDataProcessor
- Method is called to process data.
Processor could either use passed buffer as input data source and save
operation result to the internal
ByteBuffer
; or passed buffer
could be used to return process result to caller.
- Specified by:
process
in interface AsyncQueueDataProcessor
- Parameters:
byteBuffer
- ByteBuffer
, which, depending on implementation,
will be either used as input data source, or contain process results.
- Throws:
IOException
fromSelectionKey
public static SSLPreProcessor fromSelectionKey(SelectionKey key)
Copyright © 2012 Oracle Corporation. All Rights Reserved.