Class TyrusSupport

  • All Implemented Interfaces:
    Service

    public class TyrusSupport
    extends Object
    implements Service
    Class TyrusSupport implemented as a Helidon service.
    • Constructor Detail

      • TyrusSupport

        protected TyrusSupport​(TyrusSupport other)
        Create from another instance.
        Parameters:
        other - The other instance.
    • Method Detail

      • update

        public void update​(Routing.Rules routingRules)
        Register our WebSocket handler for all routes. Once a request is received, it will be forwarded to the next handler if not a protocol upgrade request.
        Specified by:
        update in interface Service
        Parameters:
        routingRules - Routing rules to update.
      • endpointClasses

        public Set<Class<?>> endpointClasses()
        Access to endpoint classes.
        Returns:
        Immutable set of end endpoint classes.
      • endpointConfigs

        public Set<javax.websocket.server.ServerEndpointConfig> endpointConfigs()
        Access to endpoint configs.
        Returns:
        Immutable set of end endpoint configs.
      • extensions

        public Set<javax.websocket.Extension> extensions()
        Access to extensions.
        Returns:
        Immutable set of extensions.
      • executorService

        protected ExecutorService executorService()
        Returns executor service, can be overridden.
        Returns:
        Executor service or null.
      • builder

        public static TyrusSupport.Builder builder()
        Creates a builder for this class.
        Returns:
        A builder for this class.