java.lang.Object
org.glassfish.grizzly.streams.AbstractStreamWriter
org.glassfish.grizzly.streams.TransformerStreamWriter
org.glassfish.grizzly.ssl.SSLStreamWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,Stream,StreamWriter
SSL aware
StreamWriter implementation, which work like a wrapper over existing StreamWriter.- Author:
- Alexey Stashok
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classprotected static classNested classes/interfaces inherited from class org.glassfish.grizzly.streams.AbstractStreamWriter
AbstractStreamWriter.DisposeBufferCompletionHandler -
Field Summary
Fields inherited from class org.glassfish.grizzly.streams.AbstractStreamWriter
isOutputBuffered, logger, output, ZERO, ZERO_READY_FUTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandshake(SSLStreamReader sslStreamReader, SSLEngineConfigurator configurator) handshake(SSLStreamReader sslStreamReader, SSLEngineConfigurator configurator, CompletionHandler<SSLEngine> completionHandler) Methods inherited from class org.glassfish.grizzly.streams.AbstractStreamWriter
close, close, encode, encode, flush, flush, getConnection, getTimeout, isClosed, setTimeout, writeBoolean, writeBooleanArray, writeBuffer, writeByte, writeByteArray, writeByteArray, writeChar, writeCharArray, writeDouble, writeDoubleArray, writeFloat, writeFloatArray, writeInt, writeIntArray, writeLong, writeLongArray, writeShort, writeShortArray
-
Constructor Details
-
SSLStreamWriter
-
-
Method Details
-
handshake
public Future<SSLEngine> handshake(SSLStreamReader sslStreamReader, SSLEngineConfigurator configurator) throws IOException - Throws:
IOException
-
handshake
public Future<SSLEngine> handshake(SSLStreamReader sslStreamReader, SSLEngineConfigurator configurator, CompletionHandler<SSLEngine> completionHandler) throws IOException - Throws:
IOException
-