Package io.smallrye.mutiny.context
Class DefaultContextPropagationUniInterceptor
- java.lang.Object
-
- io.smallrye.mutiny.context.ContextPropagationUniInterceptor
-
- io.smallrye.mutiny.context.DefaultContextPropagationUniInterceptor
-
- All Implemented Interfaces:
UniInterceptor
public class DefaultContextPropagationUniInterceptor extends ContextPropagationUniInterceptor
Provides context propagation to Uni types.
-
-
Field Summary
-
Fields inherited from interface io.smallrye.mutiny.infrastructure.UniInterceptor
DEFAULT_ORDINAL
-
-
Constructor Summary
Constructors Constructor Description DefaultContextPropagationUniInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.microprofile.context.ThreadContextgetThreadContext()Gets the Context Propagation ThreadContext.-
Methods inherited from class io.smallrye.mutiny.context.ContextPropagationUniInterceptor
onSubscription, onUniCreation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.mutiny.infrastructure.UniInterceptor
ordinal
-
-
-
-
Method Detail
-
getThreadContext
protected org.eclipse.microprofile.context.ThreadContext getThreadContext()
Description copied from class:ContextPropagationUniInterceptorGets the Context Propagation ThreadContext. External implementations may implement this method.- Specified by:
getThreadContextin classContextPropagationUniInterceptor- Returns:
- the ThreadContext
- See Also:
getThreadContext()
-
-