Package | Description |
---|---|
cn.hutool.http.server |
Http服务器封装
|
cn.hutool.http.server.action |
HttpServer 封装 |
cn.hutool.http.server.filter |
Filter 实现包装 |
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
HttpExchangeWrapper.getRequest()
获取请求
|
Modifier and Type | Method and Description |
---|---|
void |
RootAction.doAction(HttpServerRequest request,
HttpServerResponse response) |
void |
Action.doAction(HttpServerRequest request,
HttpServerResponse response)
处理请求
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ExceptionFilter.afterException(HttpServerRequest req,
HttpServerResponse res,
Throwable e)
异常之后的处理逻辑
|
void |
DefaultExceptionFilter.afterException(HttpServerRequest req,
HttpServerResponse res,
Throwable e) |
void |
HttpFilter.doFilter(HttpServerRequest req,
HttpServerResponse res,
com.sun.net.httpserver.Filter.Chain chain)
执行过滤
|
void |
ExceptionFilter.doFilter(HttpServerRequest req,
HttpServerResponse res,
com.sun.net.httpserver.Filter.Chain chain) |
Copyright © 2024. All rights reserved.