import ExecutableRouteGetResources from 'devapt-core-services/js/services/resources/executable_route_get_resource.js'
ExecutableRouteGetResources
Extends:
TODO:
- check resources accesses
Constructor Summary
Public Constructor | ||
public |
constructor(arg_provider: ServiceProvider): nothing Create a ExecutableRouteGetResources instance. |
Method Summary
Public Methods | ||
public |
get_route_cb(arg_application: object, arg_cfg_route: object, arg_data: object, route: function): * Callback for route handling. |
|
public |
include_file(self: object, arg_resource_name: string, arg_file_path_name: string): string Load an asset file for a resource |
|
public |
send_resources_list(res: object, arg_application: object, arg_cfg_route: object): nothing Get a collection resources list. |
Inherited Summary
From class ExecutableRoute | ||
protected |
Executable server. |
|
protected |
Executable settings. |
|
public |
Execution with contextual informations. |
|
public abstract |
get_route_cb(arg_application: TopologyDefineApplication, arg_cfg_route: object, arg_data: object, route: function) Callback for route handling. |
|
public |
get_route_redirect_cb(arg_application: TopologyDefineApplication, arg_cfg_route: object, arg_data: object, route: function): * Callback for redirect route handling. |
|
public |
Prepare an execution with contextual informations. |
|
public |
process_route(arg_server: Server, arg_application: TopologyDefineApplication, arg_cfg_route: object, arg_data: object): Promise Process a route registering. |
Public Constructors
public constructor(arg_provider: ServiceProvider): nothing source
Create a ExecutableRouteGetResources instance.
Override:
ExecutableRoute#constructorParams:
Name | Type | Attribute | Description |
arg_provider | ServiceProvider | service provider. |
Return:
nothing |
Public Methods
public get_route_cb(arg_application: object, arg_cfg_route: object, arg_data: object, route: function): * source
Callback for route handling.
Override:
ExecutableRoute#get_route_cbReturn:
* |
public include_file(self: object, arg_resource_name: string, arg_file_path_name: string): string source
Load an asset file for a resource