Package io.helidon.microprofile.tyrus
Class WebSocketApplication
java.lang.Object
io.helidon.microprofile.tyrus.WebSocketApplication
Represents a websocket application with class and config endpoints.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fluent API builder to createWebSocketApplication
instances. -
Method Summary
Modifier and TypeMethodDescriptionGet list of annotated endpoints.Get access to an application class, if present.Get access to all application classes.static WebSocketApplication.Builder
builder()
A new fluent API builder to create a customizedWebSocketApplication
.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 customizedWebSocketApplication
.- Returns:
- a new builder instance
-
applicationClass
public Optional<Class<? extends jakarta.websocket.server.ServerApplicationConfig>> applicationClass()Get access to an 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.
-