Uses of Interface
jakarta.websocket.Extension
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
This package contains all the Jakarta WebSocket APIs used only by server side applications.
Common Client.
Core classes.
Cluster relates classes and interfaces.
WebSocket Extension support.
Server implementation.
-
Uses of Extension in jakarta.websocket
Modifier and TypeMethodDescriptionClientEndpointConfig.getExtensions()
Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.WebSocketContainer.getInstalledExtensions()
Return the set of Extensions installed in the container.Session.getNegotiatedExtensions()
Return the list of extensions currently in use for this conversation.Modifier and TypeMethodDescriptionClientEndpointConfig.Builder.extensions
(List<Extension> extensions) Set the extensions for the configuration this builder will build. -
Uses of Extension in jakarta.websocket.server
Modifier and TypeMethodDescriptionServerEndpointConfig.getExtensions()
Return the websocket extensions configured.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 TypeMethodDescriptionServerEndpointConfig.Builder.extensions
(List<Extension> extensions) Sets the extensions to use in the configuration.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. -
Uses of Extension in org.glassfish.tyrus.client
-
Uses of Extension in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionTyrusExtension.fromHeaders
(List<String> extensionHeaders) TyrusExtension.fromString
(List<String> s) Parsing of oneExtension
.ServerEndpointConfigWrapper.getExtensions()
TyrusServerEndpointConfigurator.getNegotiatedExtensions
(List<Extension> installed, List<Extension> requested) TyrusSession.getNegotiatedExtensions()
Modifier and TypeMethodDescriptionTyrusEndpointWrapper.createSessionForRemoteEndpoint
(TyrusWebSocket socket, String subprotocol, List<Extension> extensions, DebugContext debugContext) Creates a Session based on theTyrusWebSocket
, subprotocols and extensions.TyrusServerEndpointConfig.Builder.extensions
(List<Extension> extensions) Sets the extensions to use in the configuration.static AnnotatedEndpoint
AnnotatedEndpoint.fromClass
(Class<?> annotatedClass, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, EndpointEventListener endpointEventListener, Set<Extension> extensions) CreateAnnotatedEndpoint
from class.static AnnotatedEndpoint
AnnotatedEndpoint.fromInstance
(Object annotatedInstance, ComponentProviderService componentProvider, boolean isServerEndpoint, int incomingBufferSize, ErrorCollector collector, Set<Extension> extensions) CreateAnnotatedEndpoint
from instance.TyrusServerEndpointConfigurator.getNegotiatedExtensions
(List<Extension> installed, List<Extension> requested) void
TyrusWebSocket.onConnect
(UpgradeRequest upgradeRequest, String subProtocol, List<Extension> extensions, String connectionId, DebugContext debugContext) This callback will be invoked when the opening handshake between both endpoints has been completed.void
Handshake.setExtensions
(List<Extension> extensions) Client side only - set the list of supported extensions.void
ProtocolHandler.setExtensions
(List<Extension> extensions) Client side. -
Uses of Extension in org.glassfish.tyrus.core.cluster
Modifier and TypeMethodDescriptionRemoteSession.getNegotiatedExtensions()
Get the list of extensions currently in use for this conversation. -
Uses of Extension in org.glassfish.tyrus.core.extension
-
Uses of Extension in org.glassfish.tyrus.server