Constructor
new ContextProvider()
Instantiates a new ContextProvider
Methods
getContext(request) → {BaseContext}
Returns the context to be built
Parameters:
Name | Type | Description |
---|---|---|
request |
Object | The request containing file id and type |
Throws:
Error
Returns:
- Type
- BaseContext