BackendSessionLoggingFilter

uk.gov.hmrc.play.bootstrap.backend.filters.session.BackendSessionLoggingFilter
trait BackendSessionLoggingFilter extends Filter

Detect session data in backend services where sessions are unexpected. If any session data is detected, a warning will be logged.

Attributes

Graph
Supertypes
trait Filter
trait EssentialFilter
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def apply(next: 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
Filter

Inherited methods

def apply(next: EssentialAction): EssentialAction

Attributes

Inherited from:
Filter
def asJava: EssentialFilter

Attributes

Inherited from:
EssentialFilter

Concrete fields

protected val logger: Logger

Implicits

Implicits

implicit protected def ec: ExecutionContext

Inherited and Abstract implicits

implicit def mat: Materializer

Attributes

Inherited from:
Filter