|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread
public class SSLWorkerThread
Simple WorkerThread used to execute SSL over NIO requests. All
ByteBuffer used by this class MUST be created by client
of this classes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl |
|---|
byteBuffer, doTask, pipeline, target, threadGroup |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SSLWorkerThread(Pipeline pipeline,
String name)
Create a Thread that will synchronizes/block on SSLPipeline instance. |
|
SSLWorkerThread(ThreadGroup threadGroup,
Runnable runnable)
Create a Thread that will synchronizes/block on SSLPipeline instance. |
|
| Method Summary | |
|---|---|
ByteBuffer |
getInputBB()
Return the encrypted ByteBuffer used to handle request. |
ByteBuffer |
getOutputBB()
Return the encrypted ByteBuffer used to handle response. |
SSLEngine |
getSSLEngine()
Set the SSLEngine. |
void |
run()
Perform a Task processing. |
void |
setInputBB(ByteBuffer inputBB)
Set the encrypted ByteBuffer used to handle request. |
void |
setOutputBB(ByteBuffer outputBB)
Set the encrypted ByteBuffer used to handle response. |
void |
setSSLEngine(SSLEngine sslEngine)
Get the SSLEngine. |
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl |
|---|
getByteBuffer, setByteBuffer, terminate |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SSLWorkerThread(ThreadGroup threadGroup,
Runnable runnable)
SSLPipeline instance.
public SSLWorkerThread(Pipeline pipeline,
String name)
SSLPipeline instance.
| Method Detail |
|---|
public void run()
Task processing.
run in interface Runnablerun in class WorkerThreadImplpublic ByteBuffer getInputBB()
ByteBuffer used to handle request.
public void setInputBB(ByteBuffer inputBB)
ByteBuffer used to handle request.
public ByteBuffer getOutputBB()
ByteBuffer used to handle response.
public void setOutputBB(ByteBuffer outputBB)
ByteBuffer used to handle response.
public SSLEngine getSSLEngine()
SSLEngine.
public void setSSLEngine(SSLEngine sslEngine)
SSLEngine.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||