Package | Description |
---|---|
org.glassfish.tyrus.core |
Core classes.
|
Modifier and Type | Method and Description |
---|---|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.configurator(javax.websocket.server.ServerEndpointConfig.Configurator serverEndpointConfigurator)
Sets the custom configurator to use on the configuration
object built by this builder.
|
static TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.create(Class<?> endpointClass,
String path)
Creates the builder with the mandatory information of the endpoint class
(programmatic or annotated), the relative URI or URI-template to use,
and with no subprotocols, extensions, encoders, decoders or custom
configurator.
|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.decoders(List<Class<? extends javax.websocket.Decoder>> decoders)
Sets the decoder implementation classes to use in the configuration.
|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.encoders(List<Class<? extends javax.websocket.Encoder>> encoders)
Sets the list of encoder implementation classes for this builder.
|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.extensions(List<javax.websocket.Extension> extensions)
Sets the extensions to use in the configuration.
|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.maxSessions(int maxSessions)
Sets maximal number of open sessions.
|
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.subprotocols(List<String> subprotocols)
Sets the subprotocols to use in the configuration.
|
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.