Class ServletRequestContextProvider
- java.lang.Object
-
- org.wildfly.extension.microprofile.context.propagation.providers.ServletRequestContextProvider
-
- All Implemented Interfaces:
org.eclipse.microprofile.context.spi.ThreadContextProvider
public class ServletRequestContextProvider extends java.lang.Object implements org.eclipse.microprofile.context.spi.ThreadContextProvider- Author:
- Kabir Khan
-
-
Constructor Summary
Constructors Constructor Description ServletRequestContextProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.context.spi.ThreadContextSnapshotclearedContext(java.util.Map<java.lang.String,java.lang.String> props)org.eclipse.microprofile.context.spi.ThreadContextSnapshotcurrentContext(java.util.Map<java.lang.String,java.lang.String> props)java.lang.StringgetThreadContextType()
-
-
-
Method Detail
-
currentContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext(java.util.Map<java.lang.String,java.lang.String> props)
- Specified by:
currentContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
clearedContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext(java.util.Map<java.lang.String,java.lang.String> props)
- Specified by:
clearedContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
getThreadContextType
public java.lang.String getThreadContextType()
- Specified by:
getThreadContextTypein interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
-