Page Contents

Home > @loopback/rest > ControllerRoute

ControllerRoute class

A route backed by a controller

Signature:

export declare class ControllerRoute<T> extends BaseRoute 

Constructors

Constructor Modifiers Description
(constructor)(verb, path, spec, controllerCtor, controllerFactory, methodName)   Construct a controller based route

Properties

Property Modifiers Type Description
_controllerCtor   ControllerClass<T>  
_controllerFactory   ControllerFactory<T>  
_controllerName   string  
_methodName   string  

Methods

Method Modifiers Description
describe()    
invokeHandler(requestContext, args)    
updateBindings(requestContext)