Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext​(java.util.Map<java.lang.String,​java.lang.String> props)  
      org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext​(java.util.Map<java.lang.String,​java.lang.String> props)  
      java.lang.String getThreadContextType()  
      • Methods inherited from class java.lang.Object

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

      • ServletRequestContextProvider

        public ServletRequestContextProvider()
    • Method Detail

      • currentContext

        public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext​(java.util.Map<java.lang.String,​java.lang.String> props)
        Specified by:
        currentContext in interface org.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:
        clearedContext in interface org.eclipse.microprofile.context.spi.ThreadContextProvider
      • getThreadContextType

        public java.lang.String getThreadContextType()
        Specified by:
        getThreadContextType in interface org.eclipse.microprofile.context.spi.ThreadContextProvider