Package io.helidon.microprofile.tyrus
Class WebSocketApplication
- java.lang.Object
-
- io.helidon.microprofile.tyrus.WebSocketApplication
-
public final class WebSocketApplication extends Object
Represents a websocket application with class and config endpoints.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebSocketApplication.Builder
Fluent API builder to createWebSocketApplication
instances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<?>>
annotatedEndpoints()
Get list of annotated endpoints.Optional<Class<? extends javax.websocket.server.ServerApplicationConfig>>
applicationClass()
Get access to application class, if present.static WebSocketApplication.Builder
builder()
A new fluent API builder to create a customizedWebSocketApplication
.Set<javax.websocket.Extension>
extensions()
Get list of installed extensions.Set<Class<? extends javax.websocket.Endpoint>>
programmaticEndpoints()
Get list of programmatic endpoints.
-
-
-
Method Detail
-
builder
public static WebSocketApplication.Builder builder()
A new fluent API builder to create a customizedWebSocketApplication
.- Returns:
- a new builder instance
-
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.
-
-