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.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. -
-
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.BuilderClientEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)Set the extensions for the configuration this builder will build. -
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 classTyrusExtensionWebSocketExtensionimplementation.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)ParseExtensionfrom headers (represented asListof 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 SessionTyrusEndpointWrapper. createSessionForRemoteEndpoint(TyrusWebSocket socket, java.lang.String subprotocol, java.util.List<Extension> extensions, DebugContext debugContext)Creates a Session based on theTyrusWebSocket, subprotocols and extensions.TyrusServerEndpointConfig.BuilderTyrusServerEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)Sets the extensions to use in the configuration.static AnnotatedEndpointAnnotatedEndpoint. fromClass(java.lang.Class<?> annotatedClass, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, EndpointEventListener endpointEventListener, java.util.Set<Extension> extensions)CreateAnnotatedEndpointfrom class.static AnnotatedEndpointAnnotatedEndpoint. fromInstance(java.lang.Object annotatedInstance, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, java.util.Set<Extension> extensions)CreateAnnotatedEndpointfrom instance.java.util.List<Extension>TyrusServerEndpointConfigurator. getNegotiatedExtensions(java.util.List<Extension> installed, java.util.List<Extension> requested)voidTyrusWebSocket. 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.voidHandshake. setExtensions(java.util.List<Extension> extensions)Client side only - set the list of supported extensions.voidProtocolHandler. 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 interfaceExtendedExtensionWebSocketExtension.
-