Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParameterMiddleware<T, THandlerArgs>

A type of Middleware that produces a parameter that is passed to later handlers. Can be used to do common look-ups, &c before routes.

Type parameters

  • T

  • THandlerArgs: any[] = []

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly request

request: Request

Accessors

Private appClassApplication

Methods

Protected app

apply

  • apply(): any

Protected container

getBoundMethod

  • getBoundMethod(methodName: string): (...args: any[]) => any
  • Get the method with the given name from this class, bound to this class.

    Parameters

    • methodName: string

    Returns (...args: any[]) => any

    function

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

Abstract handle

left

  • left(what: T): Left<T>

Protected make

  • make<T>(target: any, ...parameters: any[]): T

right

  • right(what: T): Right<T>

Static getCanonicalResolver

  • getCanonicalResolver(): undefined | string

Static getFullyQualifiedCanonicalResolver

  • getFullyQualifiedCanonicalResolver(): undefined | string

Static setCanonicalResolver

  • setCanonicalResolver(fullyQualifiedResolver: string, unqualifiedResolver: string): void
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.