Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InternalServer

Index

Constructors

constructor

Properties

router

router: express.Router

upload

upload: Instance

Static cookiesDecoder

cookiesDecoder: function

Type declaration

    • (val: string): string
    • Parameters

      • val: string

      Returns string

Static cookiesSecret

cookiesSecret: string

Static fileDest

fileDest: string

Static fileFilter

fileFilter: function

Type declaration

    • (req: Request, file: File, callback: function): void
    • Parameters

      • req: Request
      • file: File
      • callback: function
          • (error: Error, acceptFile: boolean): void
          • Parameters

            • error: Error
            • acceptFile: boolean

            Returns void

      Returns void

Static fileLimits

fileLimits: number

Static paths

paths: Map<string, Set<HttpMethod>> = new Map<string, Set<HttpMethod>>()

Static pathsResolved

pathsResolved: boolean = false

Static serverClasses

serverClasses: Map<string, ServiceClass> = new Map<string, metadata.ServiceClass>()

Methods

buildService

buildServices

  • buildServices(types?: Array<Function>): void

Static getHttpMethods

Static getPaths

  • getPaths(): Set<string>

Static inheritParentClass

  • inheritParentClass(name: string): void

Static registerServiceClass

Static registerServiceMethod

  • registerServiceMethod(target: Function, methodName: string): ServiceMethod

Static resolveAllPaths

  • resolveAllPaths(): void

Object literals

Static serviceFactory

serviceFactory: object

create

  • create(serviceClass: any): any

getTargetClass

  • getTargetClass(serviceClass: Function): FunctionConstructor

Generated using TypeDoc