| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.http.server |
Http服务器封装
|
| org.dromara.hutool.http.server.action |
HttpServer 封装 |
| org.dromara.hutool.http.server.handler |
HttpHandler 实现包装 |
| 限定符和类型 | 方法和说明 |
|---|---|
SimpleServer |
SimpleServer.addAction(String path,
Action action)
增加请求处理规则
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RootAction
默认的处理器,通过解析用户传入的path,找到网页根目录下对应文件后返回
|
| 构造器和说明 |
|---|
ActionHandler(Action action)
构造
|
Copyright © 2023. All rights reserved.