@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface AtmosphereHandlerService
AtmosphereHandler
Modifier and Type | Optional Element and Description |
---|---|
String[] |
atmosphereConfig
Atmosphere's configuration that will be passed to the associated
AtmosphereHandler . |
Class<? extends Broadcaster> |
broadcaster
The
Broadcaster class name |
Class<? extends BroadcasterCache> |
broadcasterCache
The
BroadcasterCache class name. |
Class<? extends BroadcastFilter>[] |
broadcastFilters
A list of
BroadcastFilter |
Class<? extends AtmosphereInterceptor>[] |
interceptors
A list of
AtmosphereInterceptor to install |
Class<? extends AtmosphereResourceEventListener>[] |
listeners
Add
AtmosphereResourceEventListener to track internal events. |
String |
path
The mapping path or context-root used to map this AtmosphereHandler
|
String[] |
properties
Properties that will be passed to the associated
AtmosphereHandler . |
boolean |
supportSession
Set to true if this
AtmosphereHandler supports sessions |
public abstract Class<? extends Broadcaster> broadcaster
Broadcaster
class nameBroadcaster
class namepublic abstract Class<? extends BroadcastFilter>[] broadcastFilters
BroadcastFilter
public abstract String path
public abstract String[] properties
AtmosphereHandler
. Properties are defined
delimited using "=" and separated using comma.AtmosphereHandler
public abstract boolean supportSession
AtmosphereHandler
supports sessionspublic abstract String[] atmosphereConfig
AtmosphereHandler
. Configuration
name and value is delimited by "=", and different configuration lines are separated by comma.public abstract Class<? extends AtmosphereInterceptor>[] interceptors
AtmosphereInterceptor
to installpublic abstract Class<? extends BroadcasterCache> broadcasterCache
BroadcasterCache
class name. By default, a no-ops DefaultBroadcasterCache
is installed. It is strongly recommended to install the UUIDBroadcasterCache
to prevent
message being lost.Broadcaster
class namepublic abstract Class<? extends AtmosphereResourceEventListener>[] listeners
AtmosphereResourceEventListener
to track internal events.Copyright © 2016. All rights reserved.