Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HandlerService

Handler service. Dispatch request to the relactive handler.

param

current application context

Hierarchy

  • HandlerService

Index

Constructors

constructor

Properties

app

enableForwardLog

enableForwardLog: boolean

handlerMap

handlerMap: HandlerMap

handlerPaths

handlerPaths: object

Type declaration

  • [serverType: string]: Set<string>

name

name: string = "handler"

Methods

Private addServer

  • addServer(serverInfo: ServerInfo): void

getHandler

handle

Private loadHandlers

  • loadHandlers(serverType: string): void

Private parseHandler

  • parseHandler(serverType: string, handlerPath: string): void