HTTP Context

Get

Get the context by token:
crudService.getContextByToken(token : HttpContextToken<Context>) : HttpContext
Get the context instance of the service:
crudService.getContext() : HttpContext

Set

Set the context by token:
crudService.setContextByToken(token : HttpContextToken<Context>, value : Context) : this
Set the context instance of the service:
crudService.setContext(context : HttpContext) : this

Clear

Clear the context by token:
crudService.clearContextByToken(token : HttpContextToken<Context>) : this
Clear the context instance of the service:
crudService.clearContext() : this
Copy link
On this page
Get
Set
Clear