Package com.ning.http.util
Class PreservingThreadContextCompletionHandler<E>
java.lang.Object
com.ning.http.util.PreservingThreadContextCompletionHandler<E>
- Type Parameters:
E- seeCompletionHandler
- All Implemented Interfaces:
org.glassfish.grizzly.CompletionHandler<E>
public class PreservingThreadContextCompletionHandler<E>
extends Object
implements org.glassfish.grizzly.CompletionHandler<E>
Completion handler wrapper that preserves the construction class loader and MDC on its methods executions.
-
Constructor Summary
ConstructorsConstructorDescriptionPreservingThreadContextCompletionHandler(org.glassfish.grizzly.CompletionHandler<E> delegate) -
Method Summary
-
Constructor Details
-
PreservingThreadContextCompletionHandler
public PreservingThreadContextCompletionHandler(org.glassfish.grizzly.CompletionHandler<E> delegate)
-
-
Method Details
-
cancelled
public void cancelled()- Specified by:
cancelledin interfaceorg.glassfish.grizzly.CompletionHandler<E>
-
failed
- Specified by:
failedin interfaceorg.glassfish.grizzly.CompletionHandler<E>
-
completed
- Specified by:
completedin interfaceorg.glassfish.grizzly.CompletionHandler<E>
-
updated
- Specified by:
updatedin interfaceorg.glassfish.grizzly.CompletionHandler<E>
-