SSLAsyncOutputBufferpublic class SSLAsyncOutputBuffer extends com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer Buffer the bytes until the ByteChunk is full or the request
is completed, and then delegate the SSL encryption to class
SSLOutputBuffer |
Fields Summary |
---|
protected ByteBuffer | outputBBEncrypted Output ByteBuffer | protected SSLEngine | sslEngineThe SSLEngine used to write SSL data. |
Constructors Summary |
---|
public SSLAsyncOutputBuffer(org.apache.coyote.Response response, int headerBufferSize, boolean useSocketBuffer)Alternate constructor.
super(response,headerBufferSize,useSocketBuffer);
|
Methods Summary |
---|
public void | flushChannel(java.nio.ByteBuffer bb)Flush the buffer by looping until the ByteBuffer is empty
using SSLOutputBuffer
SSLOutputWriter.flushChannel(socketChannel, bb, outputBB, sslEngine);
| public java.nio.ByteBuffer | getOutputBB()Return the encrypted ByteBuffer used to handle response.
return outputBB;
| public javax.net.ssl.SSLEngine | getSSLEngine()Set the SSLEngine .
return sslEngine;
| public void | setOutputBB(java.nio.ByteBuffer outputBB)Set the encrypted ByteBuffer used to handle response.
this.outputBB = outputBB;
| public void | setSSLEngine(javax.net.ssl.SSLEngine sslEngine)Get the SSLEngine .
this.sslEngine = sslEngine;
|
|