Annotation Type AtmosphereHandlerService


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface AtmosphereHandlerService
    An annotation for AtmosphereHandler
    Author:
    Jeanfrancois Arcand
    • Element Detail

      • broadcaster

        java.lang.Class<? extends Broadcaster> broadcaster
        The Broadcaster class name
        Returns:
        The Broadcaster class name
        Default:
        org.atmosphere.cpr.DefaultBroadcaster.class
      • path

        java.lang.String path
        The mapping path or context-root used to map this AtmosphereHandler
        Returns:
        mapping path or context-root used to map this AtmosphereHandler
        Default:
        "/"
      • properties

        java.lang.String[] properties
        Properties that will be passed to the associated AtmosphereHandler. Properties are defined delimited using "=" and separated using comma.
        Returns:
        an array of properties that will be passed to the associated AtmosphereHandler
        Default:
        {}
      • supportSession

        boolean supportSession
        Set to true if this AtmosphereHandler supports sessions
        Returns:
        true if session are supported.
        Default:
        false
      • atmosphereConfig

        java.lang.String[] atmosphereConfig
        Atmosphere's configuration that will be passed to the associated AtmosphereHandler. Configuration name and value is delimited by "=", and different configuration lines are separated by comma.
        Default:
        {}