com.sun.enterprise.web.connector.grizzly.ssl
Class SSLOutputWriter
java.lang.Object
com.sun.enterprise.web.connector.grizzly.ssl.SSLOutputWriter
public final class SSLOutputWriter
- extends Object
SSL over NIO utility to encrypt ByteBuffer and flush them.
All the SSLEngine operations are delegated to class SSLUtils
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLOutputWriter
public SSLOutputWriter()
flushChannel
public static void flushChannel(SocketChannel socketChannel,
ByteBuffer bb)
throws IOException
- Encrypt the response and flush it using
OutputWriter
- Throws:
IOException
flushChannel
public static void flushChannel(SocketChannel socketChannel,
ByteBuffer bb,
ByteBuffer outputBB,
SSLEngine sslEngine)
throws IOException
- Encrypt the response and flush it using
OutputWriter
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.