Methods Summary |
---|
public java.nio.ByteBuffer | getInputBB()Return the encrypted ByteBuffer used to handle request.
return inputBB;
|
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 | run()Perform a Task processing.
if ( target != null ){
target.run();
return;
}
while (doTask) {
try{
// Wait for a Task to be added to the pipeline.
Task t = pipeline.getTask();
if (t != null){
t.run();
t = null;
}
} catch (Throwable t) {
// Make sure we aren't leaving any bytes after an exception.
if (byteBuffer != null){
byteBuffer.clear();
}
if (inputBB != null){
inputBB.clear();
}
if (outputBB != null){
outputBB.clear();
}
SelectorThread.logger().log(Level.FINE,
"workerThread.httpException",t);
} finally {
sslEngine = null;
}
}
|
public void | setInputBB(java.nio.ByteBuffer inputBB)Set the encrypted ByteBuffer used to handle request.
this.inputBB = inputBB;
|
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;
|