uk.gov.hmrc.mdc
Members list
Type members
Classlikes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MdcExecutionContext.type
Manages execution to ensure that the given MDC context are set correctly in the current thread. Actual execution is performed by a delegate ExecutionContext.
Manages execution to ensure that the given MDC context are set correctly in the current thread. Actual execution is performed by a delegate ExecutionContext.
This is mostly provided for tests, and it is expected that the ExecutionContext is injected as provided by bootstrap-play.
Attributes
- Companion
- object
- Supertypes
-
trait MdcExecutorServicetrait ExecutionContextExecutortrait Executortrait ExecutionContextclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MdcExecutionContext
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MdcImplicits
Attributes
- Companion
- trait
- Supertypes
- Self type
-
MdcImplicits.type
Provides a stable store of MDC data relating to a Request.
Provides a stable store of MDC data relating to a Request.
As long as all data to be added to the MDC is added via RequestMdc (RequestMdc.add(request.id, Map("mykey", "myval"))), then RequestMdc.initMdc(request.id) can be called whenever a Request is in scope to ensure the thread has the correct MDC.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RequestMdc.type