@FunctionalInterface public interface Action
Modifier and Type | Method and Description |
---|---|
void |
doAction(HttpServerRequest request,
HttpServerResponse response)
处理请求
|
void doAction(HttpServerRequest request, HttpServerResponse response) throws IOException
request
- 请求对象response
- 响应对象IOException
- IO异常Copyright © 2024. All rights reserved.