| 程序包 | 说明 |
|---|---|
| org.noear.solon |
Solon 框架内核
|
| org.noear.solon.core.handle | |
| 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;"));
});
}
}
//
//容器自动模式
// |
| 类和说明 |
|---|
| RoutingTable
路由表
|
| 类和说明 |
|---|
| Router
通用路由器
public class DemoApp{
public static void main(String[] args){
Solon.start(DemoApp.class, args,app->{
//
//路由手写模式
//
app.get("/hello/*",c->coutput("heollo world;"));
});
}
}
//
//容器自动模式
// |
| Routing |
| RoutingTable
路由表
|
Copyright © 2022. All rights reserved.