org.atmosphere.cpr
Class MeteorServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.jetty.websocket.WebSocketServlet
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 |
ATMOSPHERE_HANDLER, ATMOSPHERE_RESOURCE, ATMOSPHERE_SERVLET, BROADCAST_FILTER_CLASSES, BROADCASTER_CACHE, BROADCASTER_CLASS, BROADCASTER_FACTORY, broadcasterClassName, cometSupport, config, DEFAULT_NAMED_DISPATCHER, DISABLE_ONSTATE_EVENT, GAE_BROADCASTER, initParams, isBroadcasterSpecified, isCometSupportConfigured, isCometSupportSpecified, isFilter, isSessionSupportSpecified, JERSEY_BROADCASTER, JERSEY_CONTAINER, logger, possibleAtmosphereHandlersCandidate, PRIMEFACES_SERVLET, PROPERTY_BLOCKING_COMETSUPPORT, PROPERTY_COMET_SUPPORT, PROPERTY_NATIVE_COMETSUPPORT, PROPERTY_SERVLET_MAPPING, PROPERTY_SESSION_SUPPORT, PROPERTY_USE_STREAM, RESUME_AND_KEEPALIVE, RESUME_ON_BROADCAST, RESUMED_ON_TIMEOUT, SUPPORT_SESSION, useBlockingImplementation, useNativeImplementation, useStreamForFlushingComments, WEB_INF, WEBSOCKET_ATMOSPHEREHANDLER, WEBSOCKET_SUPPORT |
| Methods inherited from class org.atmosphere.cpr.AtmosphereServlet |
addAtmosphereHandler, addAtmosphereHandler, addAtmosphereHandler, addInitParameter, autoDetectAtmosphereHandlers, autoDetectContainer, configureBroadcaster, createCometSupportResolver, detectSupportedFramework, doCometSupport, doDelete, doGet, doHead, doInitParams, doOptions, doPost, doPut, doRequest, doResponse, doTimeout, doTrace, doWebSocketConnect, event, event, getAtmosphereConfig, getBroadcasterCacheClassName, getBroadcasterConfig, getBroadcasterFactory, getCometSupport, getDefaultBroadcasterClassName, getFiles, init, isUseStreamForFlushingComments, loadAtmosphereDotXml, readSystemProperties, removeAllAtmosphereHandler, removeAllInitParams, removeAtmosphereHandler, sessionSupport, setBroadcasterCacheClassName, setBroadcasterFactory, 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
destroy
public void destroy()
- Specified by:
destroy in interface Servlet- Overrides:
destroy in class AtmosphereServlet
Copyright © 2010. All Rights Reserved.