Deprecated API
Contents
- Terminally Deprecated
- Classes
- Enum Classes
- Methods
- Constructors
- Enum Constants
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionUse
RawMessageinstead.This class relies on static state and breaks in applications that contain web-fragments or define more than one Atmosphere servlet. Use the instance-scoped alternatives instead:AtmosphereFramework.getBroadcasterFactory()AtmosphereFramework.atmosphereFactory()AtmosphereFramework.sessionFactory()AtmosphereFramework.metaBroadcaster()
AtmosphereConfig:UseAtmosphereFramework.getBroadcasterFactory()instead.UseAtmosphereFramework.getBroadcasterFactory()instead.Inject the framework directly or retrieve via servlet context.Inject the framework directly or retrieve via servlet context.UseAtmosphereFramework.metaBroadcaster()instead.UseAtmosphereFramework.metaBroadcaster()instead.UseAtmosphereFramework.atmosphereFactory()instead.UseAtmosphereFramework.atmosphereFactory()instead.UseAtmosphereFramework.sessionFactory()instead.UseAtmosphereFramework.sessionFactory()instead.
-
Deprecated ClassesClassDescriptionUse
RawMessageinstead.UseNoOpsRequestdirectly instead.This class relies on static state and breaks in applications that contain web-fragments or define more than one Atmosphere servlet. Use the instance-scoped alternatives instead:AtmosphereFramework.getBroadcasterFactory()AtmosphereFramework.atmosphereFactory()AtmosphereFramework.sessionFactory()AtmosphereFramework.metaBroadcaster()
AtmosphereConfig:
-
Deprecated Enum Classes
-
Deprecated MethodsMethodDescriptionUse
AtmosphereFramework.findInterceptor(Class)which returnsOptionalinstead of null.UseAtmosphereResourceFactory.findResource(String)which returnsOptionalinstead of null.UseBroadcasterFactory.findBroadcaster(Object)which returnsOptionalinstead of null.UseDefaultAtmosphereResourceFactory.findResource(String)which returnsOptionalinstead of null.UseInterceptorRegistry.findInterceptor(Class)which returnsOptionalinstead of null.UseAtmosphereFramework.getBroadcasterFactory()instead.UseAtmosphereFramework.getBroadcasterFactory()instead.Inject the framework directly or retrieve via servlet context.Inject the framework directly or retrieve via servlet context.UseAtmosphereFramework.metaBroadcaster()instead.UseAtmosphereFramework.metaBroadcaster()instead.UseAtmosphereFramework.atmosphereFactory()instead.UseAtmosphereFramework.atmosphereFactory()instead.UseAtmosphereFramework.sessionFactory()instead.UseAtmosphereFramework.sessionFactory()instead.UseWebSocketFactory.findWebSocket(String)which returnsOptionalinstead of null.
-
Deprecated Constructors
-
Deprecated Enum Constants
-
Deprecated Annotation Interface Elements