Class WebsocketBundle

  • All Implemented Interfaces:
    io.dropwizard.Bundle

    public class WebsocketBundle
    extends Object
    implements io.dropwizard.Bundle
    • Constructor Detail

      • WebsocketBundle

        public WebsocketBundle​(javax.websocket.server.ServerEndpointConfig.Configurator defaultConfigurator,
                               Class<?>... endpoints)
      • WebsocketBundle

        public WebsocketBundle​(Class<?>... endpoints)
      • WebsocketBundle

        public WebsocketBundle​(javax.websocket.server.ServerEndpointConfig... configs)
      • WebsocketBundle

        public WebsocketBundle​(javax.websocket.server.ServerEndpointConfig.Configurator defaultConfigurator,
                               Collection<Class<?>> endpointClasses,
                               Collection<javax.websocket.server.ServerEndpointConfig> serverEndpointConfigs)
    • Method Detail

      • addEndpoint

        public void addEndpoint​(javax.websocket.server.ServerEndpointConfig epC)
      • addEndpoint

        public void addEndpoint​(Class<?> clazz)
      • initialize

        public void initialize​(io.dropwizard.setup.Bootstrap<?> bootstrap)
        Specified by:
        initialize in interface io.dropwizard.Bundle
      • run

        public void run​(io.dropwizard.setup.Environment environment)
        Specified by:
        run in interface io.dropwizard.Bundle