Class SimplePingingEndpointServletContextListener

    • Constructor Detail

      • SimplePingingEndpointServletContextListener

        public SimplePingingEndpointServletContextListener()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getPingIntervalSeconds

        protected int getPingIntervalSeconds()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Allows subclasses to override ping interval.
      • getMaxMalformedPongCount

        protected int getMaxMalformedPongCount()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Allows subclasses to override maximum allowed malformed pongs.
      • contextDestroyed

        public void contextDestroyed​(ServletContextEvent destructionEvent)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Stops the associated WebsocketPingerService.