org.glassfish.grizzly.ssl
Class SSLStreamWriter
java.lang.Object
org.glassfish.grizzly.streams.AbstractStreamWriter
org.glassfish.grizzly.streams.TransformerStreamWriter
org.glassfish.grizzly.ssl.SSLStreamWriter
- All Implemented Interfaces:
- Closeable, Stream, StreamWriter
public class SSLStreamWriter
- extends TransformerStreamWriter
SSL aware StreamWriter implementation, which work like a wrapper over
existing StreamWriter.
- Author:
- Alexey Stashok
- See Also:
SSLStreamReader
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLStreamWriter
public SSLStreamWriter(StreamWriter underlyingWriter)
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
Copyright © 2012 Oracle Corporation. All Rights Reserved.