com.sun.grizzly.ssl
Class SSLAsyncStream
java.lang.Object
java.io.InputStream
com.sun.grizzly.util.InputReader
com.sun.grizzly.ssl.SSLAsyncStream
- All Implemented Interfaces:
- Closeable
public class SSLAsyncStream
- extends InputReader
This class add support for TLS|SSL to a InputReader.
- Author:
- Jean-Francois Arcand
|
Method Summary |
protected int |
doRead()
Read and decrypt bytes from the underlying SSL connections. |
| Methods inherited from class com.sun.grizzly.util.InputReader |
available, close, doClearRead, doSecureRead, getByteBuffer, getChannelType, getDefaultReadTimeout, getInputBB, getReadTimeout, getSslEngine, isSecure, markSupported, read, read, read, read, recycle, setByteBuffer, setChannelType, setDefaultReadTimeout, setInputBB, setReadTimeout, setSecure, setSelectionKey, setSslEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLAsyncStream
public SSLAsyncStream(ByteBuffer byteBuffer)
doRead
protected int doRead()
- Read and decrypt bytes from the underlying SSL connections. All
the SSLEngine operations are delegated to class
SSLUtils.
- Overrides:
doRead in class InputReader
Copyright © 2011 Oracle Corporation. All Rights Reserved.