Class AuthenticatedRequestDecorator


  • public class AuthenticatedRequestDecorator
    extends java.lang.Object
    Provides decorators for Runnable and Callable for propagating the current ThreadContext/MDC.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Runnable wrap​(java.lang.Runnable runnable)  
      static <V> java.util.concurrent.Callable<V> wrap​(java.util.concurrent.Callable<V> callable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticatedRequestDecorator

        public AuthenticatedRequestDecorator()
    • Method Detail

      • wrap

        public static java.lang.Runnable wrap​(java.lang.Runnable runnable)
      • wrap

        public static <V> java.util.concurrent.Callable<V> wrap​(java.util.concurrent.Callable<V> callable)