Skip to main content

Class: SessionResolver

An interface for resolving parameter values based on the execution context.

Implements​

Constructors​

Constructor​

new SessionResolver(): SessionResolver

Returns​

SessionResolver

Methods​

resolve()​

resolve(httpContext): HttpSession<Record<string, unknown>> | undefined

Resolves the value of a parameter based on the provided execution context and parameter definition.

Parameters​

httpContext​

HttpContext

The execution context containing relevant information for parameter resolution.

Returns​

HttpSession<Record<string, unknown>> | undefined

The resolved value of the parameter.

Implementation of​

ParameterResolver.resolve