core / pragma.session / SessionPlugin /

SessionPlugin #

interface SessionPlugin

The SessionContextPlugin provides the opportunity for performing server side validation and sanitization of state to be cached within a Pragma session

Functions #

NameSummary

validateBaggage

abstract fun validateBaggage(current: Map<String, String>, requestData: Map<String, String>): MutableMap<String, String>

Validate and return entries to be saved in the session baggage cache. Session baggage can be used to store data for the lifetime of a session and made available to operations such as adding trace context to logs.

Inheritors #

Name

DefaultSessionPlugin