| 程序包 | 说明 |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.handle | |
| org.noear.solon.core.route |
| 类和说明 |
|---|
| RouterWrapper
路由包装器(更简单的使用路由)
|
| 类和说明 |
|---|
| RouterInterceptor
路由拦截器
|
| 类和说明 |
|---|
| RoutingTable
路由表
|
| 类和说明 |
|---|
| PathRule
路径规则
|
| Router
通用路由器
public class DemoApp{
public static void main(String[] args){
Solon.start(DemoApp.class, args,app->{
//
//路由手写模式
//
app.get("/hello/*",c->coutput("heollo world;"));
});
}
}
//
//容器自动模式
// |
| RouterHandler
Solon router Handler
|
| RouterInterceptor
路由拦截器
|
| RouterInterceptorChain
路由拦截器调用链
|
| Routing
路由记录
|
| RoutingTable
路由表
|
Copyright © 2024. All rights reserved.