Class TyrusApplication

java.lang.Object
io.helidon.microprofile.tyrus.TyrusApplication

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

    • builder

      public static TyrusApplication.Builder builder()
      A new fluent API builder to create a customized TyrusApplication.
      Returns:
      a new builder instance
    • applicationClass

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

      public Set<Class<? extends jakarta.websocket.server.ServerApplicationConfig>> applicationClasses()
      Get access to all application classes. Possibly an empty set.
      Returns:
      Immutable set of application classes.
    • programmaticEndpoints

      public Set<Class<? extends jakarta.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<jakarta.websocket.Extension> extensions()
      Get list of installed extensions.
      Returns:
      List of installed extensions.