org.atmosphere.cpr
Class MeteorServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
weblogic.servlet.http.AbstractAsyncServlet
org.atmosphere.cpr.AtmosphereServlet
org.atmosphere.cpr.MeteorServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, org.apache.catalina.CometProcessor, org.jboss.servlet.http.HttpEventServlet
public class MeteorServlet
- extends AtmosphereServlet
Simple Servlet to use when Atmosphere Meteor are used. This Servlet will look
for a Servlet init-param named org.atmosphere.servlet or org.atmosphere.filter and will
delegate request processing to them. When used, this Servlet will ignore any
value defined in META-INF/atmosphere.xml as internally it will create a
ReflectorServletProcessor
- Author:
- Jean-Francois Arcand
- See Also:
- Serialized Form
| Fields inherited from class org.atmosphere.cpr.AtmosphereServlet |
atmosphereHandlers, BROADCASTER_TYPE, cometSupport, config, DISABLE_ONSTATE_EVENT, GAE_BROADCASTER, JERSEY_BROADCASTER, JERSEY_CONTAINER, logger, PRIMEFACES_SERVLET, PROPERTY_BLOCKING_COMETSUPPORT, PROPERTY_COMET_SUPPORT, PROPERTY_NATIVE_COMETSUPPORT, PROPERTY_SERVLET_MAPPING, PROPERTY_USE_STREAM |
| Methods inherited from class org.atmosphere.cpr.AtmosphereServlet |
addAtmosphereHandler, addInitParameter, autoDetectAtmosphereHandlers, autoDetectContainer, createCometSupportResolver, destroy, detectJerseyRuntime, doCometSupport, doDelete, doGet, doHead, doInitParams, doOptions, doPost, doPut, doRequest, doResponse, doTimeout, doTrace, event, event, getCometSupport, getDefaultBroadcasterClassName, init, isUseStreamForFlushingComments, loadAtmosphereDotXml, newAtmosphereConfig, setCometSupport, setDefaultBroadcasterClassName, setUseStreamForFlushingComments |
| Methods inherited from class weblogic.servlet.http.AbstractAsyncServlet |
notify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeteorServlet
public MeteorServlet()
loadConfiguration
protected void loadConfiguration(ServletConfig sc)
throws ServletException
- Initialize a confugured instance of
ReflectorServletProcessor and
follow the normal AtmosphereServlet processing.
- Overrides:
loadConfiguration in class AtmosphereServlet
- Parameters:
sc - the ServletContext
- Throws:
ServletException
Copyright © 2010 SUN Microsystems. All Rights Reserved.