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