Apache Tomcat 7.0.4

Package org.apache.catalina.comet

Interface Summary
CometEvent The CometEvent interface.
CometFilter A Comet filter, similar to regular filters, performs filtering tasks on either the request to a resource (a Comet servlet), or on the response from a resource, or both.
CometFilterChain A CometFilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered event for a resource.
CometProcessor This interface should be implemented by servlets which would like to handle asynchronous IO, receiving 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.
 


Apache Tomcat 7.0.4

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.