RestController class

==================================================== @Annotation RestController

Rest接口类的控制器注解,使用该注解的类会自动加入到 ApplicationContext 中, 然后可以通过 mirrors 扫描且应用

example:

@RestController(basePath: '/api/v1')
class TestController {

}

@author luodongseu

Constructors

RestController([String basePath])
const

Properties

basePath String
基本的路径
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited