Class SslHandler.SslTasksRunner
java.lang.Object
io.netty.handler.ssl.SslHandler.SslTasksRunner
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
SslHandler
private final class SslHandler.SslTasksRunner
extends java.lang.Object
implements java.lang.Runnable
Runnable that will be scheduled on the delegatedTaskExecutor and will take care
of resume work on the EventExecutor once the task was executed.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final java.lang.Runnable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidhandleException(java.lang.Throwable cause) private voidExecuted after the wrappedtaskwas executed viadelegatedTaskExecutorto resume work on theEventExecutor.voidrun()(package private) voidprivate voidsafeExceptionCaught(java.lang.Throwable cause) private voidtaskError(java.lang.Throwable e) private voidprivate java.lang.ThrowablewrapIfNeeded(java.lang.Throwable cause) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
inUnwrap
private final boolean inUnwrap -
runCompleteTask
private final java.lang.Runnable runCompleteTask
-
-
Constructor Details
-
SslTasksRunner
SslTasksRunner(boolean inUnwrap)
-
-
Method Details
-
taskError
private void taskError(java.lang.Throwable e) -
safeExceptionCaught
private void safeExceptionCaught(java.lang.Throwable cause) -
wrapIfNeeded
private java.lang.Throwable wrapIfNeeded(java.lang.Throwable cause) -
tryDecodeAgain
private void tryDecodeAgain() -
resumeOnEventExecutor
private void resumeOnEventExecutor()Executed after the wrappedtaskwas executed viadelegatedTaskExecutorto resume work on theEventExecutor. -
runComplete
void runComplete() -
run
public void run()- Specified by:
runin interfacejava.lang.Runnable
-
handleException
private void handleException(java.lang.Throwable cause)
-