@FunctionalInterface public interface Action
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doAction(HttpServerRequest request,
HttpServerResponse response)
处理请求
|
void doAction(HttpServerRequest request, HttpServerResponse response) throws IOException
request - 请求对象response - 响应对象IOException - IO异常Copyright © 2023. All rights reserved.