# HandlerMetadata Class

Module
import { HandlerMetadata } from "@tsed/common"
Source/packages/common/src/mvc/models/HandlerMetadata.ts

# Overview

class HandlerMetadata {
    readonly target: any;
    readonly token: Type<any>;
    readonly methodClassName: string;
    readonly propertyKey: string | symbol;
    readonly method: string;
    readonly injectable: boolean;
    readonly type: HandlerType;
    readonly hasErrorParam: boolean;
    readonly hasNextFunction: boolean;
    handler: any;
    constructor(options: IHandlerConstructorOptions);
    get parameters(): ParamMetadata[];
    getParams(): ParamMetadata[];
    hasParamType(paramType: any): boolean;
}

# Members

readonly target: any

readonly token: Type<any>

readonly methodClassName: string

readonly propertyKey: string | symbol

readonly method: string

readonly injectable: boolean

readonly type: HandlerType

readonly hasErrorParam: boolean

readonly hasNextFunction: boolean

handler: any

get parameters(): ParamMetadata[]

getParams(): ParamMetadata[]

hasParamType(paramType: any): boolean