ContextResolver

Context resolver that processes context and extracts values from there.

Description

TODO: add description

Static methods

getTraceId

Gets a trace (correlation) id.

get_trace_id(context: IContext) -> str

  • context: IContext - execution context to trace execution through call chain.
  • returns: string - a trace id or null if it is not defined.

getClient

Gets a client name.

get_client(context: IContext) -> str

  • context: IContext - execution context to trace execution through call chain.
  • returns: string - a client name or null if it is not defined.

getUser

Gets a reference to user object.

get_user(context: IContext) -> str

  • context: IContext - execution context to trace execution through call chain.
  • returns: string - a user reference or null if it is not defined.

See also