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.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. -
-
Uses of Extension in jakarta.websocket
Methods in jakarta.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 jakarta.websocket with type arguments of type Extension Modifier and Type Method Description ClientEndpointConfig.Builder
ClientEndpointConfig.Builder. extensions(java.util.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 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 jakarta.websocket.server with type arguments of type Extension Modifier and Type Method Description ServerEndpointConfig.Builder
ServerEndpointConfig.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. -
Uses of Extension in org.glassfish.tyrus.client
Methods in org.glassfish.tyrus.client that return types with arguments of type Extension Modifier and Type Method Description java.util.Set<Extension>
ClientManager. getInstalledExtensions()
-
Uses of Extension in org.glassfish.tyrus.core
Classes in org.glassfish.tyrus.core that implement Extension Modifier and Type Class Description class
TyrusExtension
WebSocketExtension
implementation.Methods in org.glassfish.tyrus.core that return types with arguments of type Extension Modifier and Type Method Description static java.util.List<Extension>
TyrusExtension. fromHeaders(java.util.List<java.lang.String> extensionHeaders)
ParseExtension
from headers (represented asList
of strings).static java.util.List<Extension>
TyrusExtension. fromString(java.util.List<java.lang.String> s)
Parsing of oneExtension
.java.util.List<Extension>
ServerEndpointConfigWrapper. getExtensions()
java.util.List<Extension>
TyrusServerEndpointConfigurator. getNegotiatedExtensions(java.util.List<Extension> installed, java.util.List<Extension> requested)
java.util.List<Extension>
TyrusSession. getNegotiatedExtensions()
Method parameters in org.glassfish.tyrus.core with type arguments of type Extension Modifier and Type Method Description Session
TyrusEndpointWrapper. createSessionForRemoteEndpoint(TyrusWebSocket socket, java.lang.String subprotocol, java.util.List<Extension> extensions, DebugContext debugContext)
Creates a Session based on theTyrusWebSocket
, subprotocols and extensions.TyrusServerEndpointConfig.Builder
TyrusServerEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)
Sets the extensions to use in the configuration.static AnnotatedEndpoint
AnnotatedEndpoint. fromClass(java.lang.Class<?> annotatedClass, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, EndpointEventListener endpointEventListener, java.util.Set<Extension> extensions)
CreateAnnotatedEndpoint
from class.static AnnotatedEndpoint
AnnotatedEndpoint. fromInstance(java.lang.Object annotatedInstance, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, java.util.Set<Extension> extensions)
CreateAnnotatedEndpoint
from instance.java.util.List<Extension>
TyrusServerEndpointConfigurator. getNegotiatedExtensions(java.util.List<Extension> installed, java.util.List<Extension> requested)
void
TyrusWebSocket. onConnect(UpgradeRequest upgradeRequest, java.lang.String subProtocol, java.util.List<Extension> extensions, java.lang.String connectionId, DebugContext debugContext)
This callback will be invoked when the opening handshake between both endpoints has been completed.void
Handshake. setExtensions(java.util.List<Extension> extensions)
Client side only - set the list of supported extensions.void
ProtocolHandler. setExtensions(java.util.List<Extension> extensions)
Client side. -
Uses of Extension in org.glassfish.tyrus.core.cluster
Methods in org.glassfish.tyrus.core.cluster that return types with arguments of type Extension Modifier and Type Method Description java.util.List<Extension>
RemoteSession. getNegotiatedExtensions()
Get the list of extensions currently in use for this conversation. -
Uses of Extension in org.glassfish.tyrus.core.extension
Subinterfaces of Extension in org.glassfish.tyrus.core.extension Modifier and Type Interface Description interface
ExtendedExtension
WebSocketExtension
. -
Uses of Extension in org.glassfish.tyrus.server
Methods in org.glassfish.tyrus.server that return types with arguments of type Extension Modifier and Type Method Description java.util.Set<Extension>
TyrusServerContainer. getInstalledExtensions()
-