Class WebSocketApplication


  • public final class WebSocketApplication
    extends Object
    Represents a websocket application with class and config endpoints.
    • Method Detail

      • applicationClass

        public Optional<Class<? extends javax.websocket.server.ServerApplicationConfig>> applicationClass()
        Get access to application class, if present.
        Returns:
        Application class optional.
      • programmaticEndpoints

        public Set<Class<? extends javax.websocket.Endpoint>> programmaticEndpoints()
        Get list of programmatic endpoints.
        Returns:
        List of config endpoints.
      • annotatedEndpoints

        public Set<Class<?>> annotatedEndpoints()
        Get list of annotated endpoints.
        Returns:
        List of annotated endpoint.
      • extensions

        public Set<javax.websocket.Extension> extensions()
        Get list of installed extensions.
        Returns:
        List of installed extensions.