Uses of Interface
jakarta.websocket.Extension
-
Packages that use Extension Package Description jakarta.websocket This package contains all the Jakarta WebSocket APIs common to both the client and server side.jakarta.websocket.server This package contains all the Jakarta WebSocket APIs used only by server side applications. -
-
Uses of Extension in jakarta.websocket
Methods in jakarta.websocket that return types with arguments of type Extension 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.Method parameters in jakarta.websocket with type arguments of type Extension Modifier and Type Method Description ClientEndpointConfig.Builder
ClientEndpointConfig.Builder. extensions(List<Extension> extensions)
Set the extensions for the configuration this builder will build. -
Uses of Extension in jakarta.websocket.server
Methods in jakarta.websocket.server that return types with arguments of type Extension 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.Method parameters in jakarta.websocket.server with type arguments of type Extension 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.
-