com.sun.enterprise.web.connector.grizzly.ssl
Class SSLAsyncStream
java.lang.Object
java.io.InputStream
com.sun.enterprise.web.connector.grizzly.ByteBufferInputStream
com.sun.enterprise.web.connector.grizzly.ssl.SSLAsyncStream
- All Implemented Interfaces:
- Closeable
public class SSLAsyncStream
- extends ByteBufferInputStream
This class add support for TLS|SSL to a ByteBufferInputStream.
- Author:
- Jean-Francois Arcand
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.ByteBufferInputStream |
available, close, getByteBuffer, getDefaultReadTimeout, getReadTimeout, markSupported, read, read, read, read, readBlocking, recycle, setByteBuffer, setDefaultReadTimeout, setReadTimeout, setSelectionKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLAsyncStream
public SSLAsyncStream()
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 ByteBufferInputStream
getSslEngine
public SSLEngine getSslEngine()
setSslEngine
public void setSslEngine(SSLEngine sslEngine)
getInputBB
public ByteBuffer getInputBB()
setInputBB
public void setInputBB(ByteBuffer inputBB)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.