service doGet doPost 处理请求 ; 处理服务
The servlet's doGet(...) method gets called.
调用 servlet 的 doGet(...)
Notice that the response is set up just as it was in the doGet() method.
注意,响应的设置就像在 doGet() 方法中设置一样。
The Http11NioProtocol configured in the first step calls the event() method instead of doGet or doPost to process requests.
在第一步中配置的 Http11NioProtocol 调用 event() 方法来处理请求,而不是 doGet 或 doPost。
应用推荐