public interface TyrusServerEndpointConfig
extends javax.websocket.server.ServerEndpointConfig
ServerEndpointConfig
enhanced
to offer tyrus specific attributes like maxSessions.
Declarative way to define maxSessions is also available using
annotation MaxSessions
.MaxSessions
Modifier and Type | Interface and Description |
---|---|
static class |
TyrusServerEndpointConfig.Builder
The TyrusServerEndpointConfig.Builder is a class used for creating
TyrusServerEndpointConfig.Builder objects for the purposes of
deploying a server endpoint. |
Modifier and Type | Method and Description |
---|---|
int |
getMaxSessions()
Returns configured maximal number of open sessions.
|
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.