Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client and server side.
|
javax.websocket.server |
This package contains all the WebSocket APIs used only by server side applications.
|
org.glassfish.tyrus.client |
Common Client.
|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.core.cluster |
Cluster relates classes and interfaces.
|
org.glassfish.tyrus.core.extension |
WebSocket Extension support.
|
org.glassfish.tyrus.server |
Server implementation.
|
Modifier and Type | Method and Description |
---|---|
List<Extension> |
ClientEndpointConfig.getExtensions()
Return the extensions, in order of preference, favorite first, that this client would like to use for its
sessions.
|
Set<Extension> |
WebSocketContainer.getInstalledExtensions()
Return the set of Extensions installed in the container.
|
List<Extension> |
Session.getNegotiatedExtensions()
Return the list of extensions currently in use for this conversation.
|
Modifier and Type | Method and Description |
---|---|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.extensions(List<Extension> extensions)
Set the extensions for the configuration this builder will build.
|
Modifier and Type | Method and Description |
---|---|
List<Extension> |
ServerEndpointConfig.getExtensions()
Return the websocket extensions configured.
|
List<Extension> |
ServerEndpointConfig.Configurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested)
Return the ordered list of extensions that t server endpoint will support given the requested extension list
passed in, the empty list if none.
|
Modifier and Type | Method and Description |
---|---|
ServerEndpointConfig.Builder |
ServerEndpointConfig.Builder.extensions(List<Extension> extensions)
Sets the extensions to use in the configuration.
|
List<Extension> |
ServerEndpointConfig.Configurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested)
Return the ordered list of extensions that t server endpoint will support given the requested extension list
passed in, the empty list if none.
|
List<Extension> |
ServerEndpointConfig.Configurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested)
Return the ordered list of extensions that t server endpoint will support given the requested extension list
passed in, the empty list if none.
|
Modifier and Type | Method and Description |
---|---|
Set<Extension> |
ClientManager.getInstalledExtensions() |
Modifier and Type | Class and Description |
---|---|
class |
TyrusExtension
WebSocket
Extension implementation. |
Modifier and Type | Method and Description |
---|---|
static List<Extension> |
TyrusExtension.fromHeaders(List<String> extensionHeaders)
|
static List<Extension> |
TyrusExtension.fromString(List<String> s)
Parsing of one
Extension . |
List<Extension> |
TyrusSession.getNegotiatedExtensions() |
List<Extension> |
TyrusServerEndpointConfigurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested) |
Modifier and Type | Method and Description |
---|---|
Session |
TyrusEndpointWrapper.createSessionForRemoteEndpoint(TyrusWebSocket socket,
String subprotocol,
List<Extension> extensions,
DebugContext debugContext)
Creates a Session based on the
TyrusWebSocket , subprotocols and extensions. |
TyrusServerEndpointConfig.Builder |
TyrusServerEndpointConfig.Builder.extensions(List<Extension> extensions)
Sets the extensions to use in the configuration.
|
List<Extension> |
TyrusServerEndpointConfigurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested) |
List<Extension> |
TyrusServerEndpointConfigurator.getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested) |
void |
TyrusWebSocket.onConnect(UpgradeRequest upgradeRequest,
String subProtocol,
List<Extension> extensions,
String connectionId,
DebugContext debugContext)
This callback will be invoked when the opening handshake between both
endpoints has been completed.
|
void |
ProtocolHandler.setExtensions(List<Extension> extensions)
Client side.
|
void |
Handshake.setExtensions(List<Extension> extensions)
Client side only - set the list of supported extensions.
|
Modifier and Type | Method and Description |
---|---|
List<Extension> |
RemoteSession.getNegotiatedExtensions()
Get the list of extensions currently in use for this conversation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedExtension
WebSocket
Extension . |
Modifier and Type | Method and Description |
---|---|
Set<Extension> |
TyrusServerContainer.getInstalledExtensions() |
Copyright © 2012–2019 Oracle Corporation. All rights reserved.