| 程序包 | 说明 |
|---|---|
| org.noear.solon | |
| org.noear.solon.core.route |
| 类和说明 |
|---|
| Router
通用路由器
public class DemoApp{
public static void main(String[] args){
Solon.start(DemoApp.class, args,app->{
//
//路由手写模式
//
app.get("/hello/*",c->coutput("heollo world;"));
});
}
}
//
//容器自动模式
// |
| 类和说明 |
|---|
| Router
通用路由器
public class DemoApp{
public static void main(String[] args){
Solon.start(DemoApp.class, args,app->{
//
//路由手写模式
//
app.get("/hello/*",c->coutput("heollo world;"));
});
}
}
//
//容器自动模式
// |
| RouteTable
路由表
|
Copyright © 2021. All rights reserved.