Page Contents

Home > @loopback/rest > BaseRoute

BaseRoute class

Base implementation of RouteEntry

Signature:

export declare abstract class BaseRoute implements RouteEntry 

Implements: RouteEntry

Constructors

Constructor Modifiers Description

(constructor)(verb, path, spec)

Construct a new route

Properties

Property Modifiers Type Description

path

readonly

string

spec

readonly

OperationObject

verb

readonly

string

Methods

Method Modifiers Description

describe()

invokeHandler(requestContext, args)

abstract

toString()

updateBindings(requestContext)

abstract