Static
Private
_initializeStatic
Private
_reinitializeStatic
Private
_setStatic
attachA controller. Usually an instance of class or the class itself (when static)
The request mapping configuration
Static
attachAttach request mapping configuration for a method into a controller directly.
A controller. Usually an instance of class or the class itself (when static)
The request mapping configuration
The name of the method
Static
attachThis function is used when the ModelAttribute decorator provides a PropertyDescriptor instead of a parameter number. (FIXME: Add better explanation. What is the actual use case from annotations?)
https://www.typescriptlang.org/docs/handbook/decorators.html#accessor-decorators
Static
attachSet OpenAPI document configuration into the controller directly
Static
attachStatic
findFind the controller from arbitrary variable.
If provided with a class directly, will return the class itself.
If provided with an instance of a class, will return the class instead.
Otherwise, will return undefined
.
Static
parseFilters items by type to separate properties in the return object
RequestMappingObject with methods and paths separated
Array of paths (string) or methods (RequestMethod e.g. numbers)
Static
setSets configuration to pass on the request body into the controller's method argument at specified index.
Used at Request.body()
The controller
The method name
The index of the method's parameter
The type of the parameter
Static
setThis method is used to set the configuration for the HTTP header ( Request.header() ) annotation in to the controller.
Static
setSets configuration to pass on a full map of headers into the controller's method argument at specified index.
Used at Request.header()
The controller
The method name
The index of the method's parameter
The default values if some parameters missing
Static
setThis method is used to configure how ModelAttribute is mapped to the method's parameter
The controller to attach the configuration to
The method name
The index of the parameter
The parameter name
The parameter type
Static
setSet configuration for path variable into the controller.
The controller
The method name
The index of the parameter
The variable name in the path
The variable type in the path
True if variable is required
True if variable must be decoded
The default value if missing
Static
setSets configuration to pass on a full map of parameters into the controller's method argument at specified index.
The controller
The method name
The index of the method's parameter
The default values if some parameters missing
Static
setSet query param configuration into the controller
Static
setGenerated using TypeDoc
Attach request mapping configuration into a controller directly.