import MiddlewaresSvcProvider from 'devapt-core-services/js/services/middlewares/middlewares_svc_provider.js'
MiddlewaresSvcProvider
Extends:
Middlewares service provider class.
Constructor Summary
Public Constructor | ||
public |
constructor(arg_provider_name: string, arg_service_instance: Service, arg_context: string): nothing Create a middleware service provider. |
Member Summary
Public Members | ||
public |
exec: Executable Service executable instance. |
|
public |
Class test flag. |
Method Summary
Public Methods | ||
public |
fill_error(arg_response: ServiceResponse, arg_operands: array, arg_error: string, arg_target_route: string, arg_exception: Error): nothing Populate a response with error message. |
|
public abstract |
get_operations_names(): array Get provider operations names. |
|
public |
process_mw_file(arg_mw_file: string, arg_credentials: Credentials): object Process a middleware file. |
|
public |
process_mw_view(arg_view_name: string | Component, arg_menubar_name: string, arg_credentials: Credentials): object Process a middleware view. |
|
public |
Produce service datas on request. |
Public Constructors
Public Members
Public Methods
public fill_error(arg_response: ServiceResponse, arg_operands: array, arg_error: string, arg_target_route: string, arg_exception: Error): nothing source
Populate a response with error message.
Return:
nothing |
public process_mw_file(arg_mw_file: string, arg_credentials: Credentials): object source
Process a middleware file.
Params:
Name | Type | Attribute | Description |
arg_mw_file | string | middleware file. |
|
arg_credentials | Credentials | request credentials. |