- java.lang.Object
-
- io.helidon.webserver.tyrus.TyrusSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TyrusSupport.Builder
Builder for convenient way to createTyrusSupport
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TyrusSupport(TyrusSupport other)
Create from another instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TyrusSupport.Builder
builder()
Creates a builder for this class.Set<Class<?>>
endpointClasses()
Access to endpoint classes.Set<javax.websocket.server.ServerEndpointConfig>
endpointConfigs()
Access to endpoint configs.protected ExecutorService
executorService()
Returns executor service, can be overridden.Set<javax.websocket.Extension>
extensions()
Access to extensions.void
update(Routing.Rules routingRules)
Register our WebSocket handler for all routes.
-
-
-
Constructor Detail
-
TyrusSupport
protected TyrusSupport(TyrusSupport other)
Create from another instance.- Parameters:
other
- The other instance.
-
-
Method Detail
-
update
public void update(Routing.Rules routingRules)
Register our WebSocket handler for all routes. Once a request is received, it will be forwarded to the next handler if not a protocol upgrade request.
-
endpointClasses
public Set<Class<?>> endpointClasses()
Access to endpoint classes.- Returns:
- Immutable set of end endpoint classes.
-
endpointConfigs
public Set<javax.websocket.server.ServerEndpointConfig> endpointConfigs()
Access to endpoint configs.- Returns:
- Immutable set of end endpoint configs.
-
extensions
public Set<javax.websocket.Extension> extensions()
Access to extensions.- Returns:
- Immutable set of extensions.
-
executorService
protected ExecutorService executorService()
Returns executor service, can be overridden.- Returns:
- Executor service or
null
.
-
builder
public static TyrusSupport.Builder builder()
Creates a builder for this class.- Returns:
- A builder for this class.
-
-