Server class

HttpServer的封装类,用于开启Https服务

默认端口启动在8080端口,https开启需要在config中配置

@author ludongseu

Constructors

Server(List<InstanceMirror> controllers)
构造函数

Properties

hashCode int
The hash code for this object.
read-onlyinherited
logger Log
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() → dynamic
重载路由
convertParameter(String value, ParameterMirror p, [dynamic defaultValue]) → dynamic
解析参数类型
matchResource(HttpRequest request) bool
匹配favicon
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
reload(List<InstanceMirror> controllers) → dynamic
重载
start() → void
开启服务
toString() String
A string representation of this object.
inherited

Operators

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