Annotation Type WebSocketHandlerService


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface WebSocketHandlerService
    An annotation for telling Atmosphere which WebSocketHandler class to use by default.
    Author:
    Jeanfrancois Arcand
      • path

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

        java.lang.Class<? extends Broadcaster> broadcaster
        The Broadcaster class name
        Returns:
        The Broadcaster class name
        Default:
        org.atmosphere.cpr.DefaultBroadcaster.class
      • 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:
        {}