Package | Description |
---|---|
cn.hutool.http.server |
Http服务器封装
|
cn.hutool.http.server.action |
HttpServer 封装 |
cn.hutool.http.server.handler |
HttpHandler 实现包装 |
Modifier and Type | Method and Description |
---|---|
SimpleServer |
SimpleServer.addAction(String path,
Action action)
增加请求处理规则
|
Modifier and Type | Class and Description |
---|---|
class |
RootAction
默认的处理器,通过解析用户传入的path,找到网页根目录下对应文件后返回
|
Constructor and Description |
---|
ActionHandler(Action action)
构造
|
Copyright © 2024. All rights reserved.