摘要:
tomcat有一个异步处理request和response的机制(long polling),是通过事件来完成的。以下是主要四个事件的解释:Enumeration describing the major events that the container can invoke the CometProcessors event() method with BEGIN - will be called at the beginning of the processing of the connection. 在连接开始处理的时候被调用。It can be used to initialize 阅读全文