FrontendMdcFilter

uk.gov.hmrc.play.bootstrap.frontend.filters.FrontendMdcFilter
@Singleton
class FrontendMdcFilter(val mat: Materializer, val configuration: Configuration, val ec: ExecutionContext) extends MDCFilter, FrontendHeaderCarrierProvider

Attributes

Graph
Supertypes
trait MDCFilter
trait Filter
trait EssentialFilter
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def apply(f: RequestHeader => Future[Result])(rh: RequestHeader): Future[Result]

Apply the filter, given the request header and a function to call the next operation.

Apply the filter, given the request header and a function to call the next operation.

Value parameters

f

A function to call the next operation. Call this to continue normally with the current request. You do not need to call this function if you want to generate a result in a different way.

rh

The RequestHeader.

Attributes

Definition Classes
MDCFilter -> Filter
Inherited from:
MDCFilter
def apply(next: EssentialAction): EssentialAction

Attributes

Inherited from:
Filter
def asJava: EssentialFilter

Attributes

Inherited from:
EssentialFilter

Concrete fields

override val configuration: Configuration
override val ec: ExecutionContext
override val mat: Materializer

Implicits

Inherited implicits

implicit protected def hc(implicit request: RequestHeader): HeaderCarrier

Attributes

Inherited from:
FrontendHeaderCarrierProvider