Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Constructors

constructor

Properties

Private Readonly allMethods

allMethods: boolean

Private Readonly allowedMethods

allowedMethods: string[]

Private Readonly allowedPathNamesRegEx

allowedPathNamesRegEx: RegExp[]

Private Readonly baseUrl

baseUrl: string

Private Readonly handler

handler: HttpHandler

Private Readonly targetExtractor

targetExtractor: TargetExtractor

Methods

canHandle

handle

handleSafe