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.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.extensions(List<Extension> extensions) |
Set the extensions for the configuration this builder will build.
|
Modifier and Type | Method | 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 | 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.
|
Copyright © 2019 Oracle. All rights reserved.