Package org.apache.catalina

Interface Summary
CometEvent The CometEvent interface.
CometProcessor This interface should be implemented by servlets which would like to handle asynchronous IO, recieving events when data is available for reading, and being able to output data without the need for being invoked by the container.
 

Enum Summary
CometEvent.EventSubType Event details TIMEOUT - the connection timed out (sub type of ERROR); note that this ERROR type is not fatal, and the connection will not be closed unless the servlet uses the close method of the event CLIENT_DISCONNECT - the client connection was closed (sub type of ERROR) IOEXCEPTION - an IO exception occurred, such as invalid content, for example, an invalid chunk block (sub type of ERROR) WEBAPP_RELOAD - the webapplication is being reloaded (sub type of END) SERVER_SHUTDOWN - the server is shutting down (sub type of END) SESSION_END - the servlet ended the session (sub type of END)
CometEvent.EventType 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.
 



Copyright © 2013. All Rights Reserved.