An HttpHandler that checks if a given method and path are satisfied and allows its handler to be executed if so.

If allowedMethods contains '*' it will match all methods.

Hierarchy

Constructors

Properties

allMethods: boolean
allowedMethods: string[]
allowedPathNamesRegEx: RegExp[]
baseUrl: string
handler: HttpHandler
targetExtractor: TargetExtractor

Methods