Uses of Interface
javax.websocket.Extension
| Package | Description |
|---|---|
| javax.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
| javax.websocket.server |
This package contains all the Jakarta WebSocket APIs used only by server side applications.
|
-
Uses of Extension in javax.websocket
Methods in javax.websocket that return types with arguments of type Extension Modifier and Type Method Description java.util.List<Extension>ClientEndpointConfig. getExtensions()Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.java.util.Set<Extension>WebSocketContainer. getInstalledExtensions()Return the set of Extensions installed in the container.java.util.List<Extension>Session. getNegotiatedExtensions()Return the list of extensions currently in use for this conversation.Method parameters in javax.websocket with type arguments of type Extension Modifier and Type Method Description ClientEndpointConfig.BuilderClientEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)Set the extensions for the configuration this builder will build. -
Uses of Extension in javax.websocket.server
Methods in javax.websocket.server that return types with arguments of type Extension Modifier and Type Method Description java.util.List<Extension>ServerEndpointConfig. getExtensions()Return the websocket extensions configured.java.util.List<Extension>ServerEndpointConfig.Configurator. getNegotiatedExtensions(java.util.List<Extension> installed, java.util.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 javax.websocket.server with type arguments of type Extension Modifier and Type Method Description ServerEndpointConfig.BuilderServerEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)Sets the extensions to use in the configuration.java.util.List<Extension>ServerEndpointConfig.Configurator. getNegotiatedExtensions(java.util.List<Extension> installed, java.util.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.