java.lang.Object
io.helidon.microprofile.tyrus.TyrusApplication
Represents a websocket application with class and config endpoints.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fluent API builder to createTyrusApplication
instances. -
Method Summary
Modifier and TypeMethodDescriptionGet list of annotated endpoints.Get access to application class, if present.Get access to all application classes.static TyrusApplication.Builder
builder()
A new fluent API builder to create a customizedTyrusApplication
.Set
<jakarta.websocket.Extension> Get list of installed extensions.Get list of programmatic endpoints.
-
Method Details
-
builder
A new fluent API builder to create a customizedTyrusApplication
.- 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
Get access to all application classes. Possibly an empty set.- Returns:
- Immutable set of application classes.
-
programmaticEndpoints
Get list of programmatic endpoints.- Returns:
- List of config endpoints.
-
annotatedEndpoints
Get list of annotated endpoints.- Returns:
- List of annotated endpoint.
-
extensions
Get list of installed extensions.- Returns:
- List of installed extensions.
-