Uses of Interface
jakarta.websocket.EndpointConfig
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.
-
Uses of EndpointConfig in jakarta.websocket
Modifier and TypeInterfaceDescriptioninterface
The ClientEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.Modifier and TypeMethodDescriptiondefault void
Decoder.init
(EndpointConfig config) This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.default void
Encoder.init
(EndpointConfig config) This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.abstract void
Endpoint.onOpen
(Session session, EndpointConfig config) Developers must implement this method to be notified when a new conversation has just begun. -
Uses of EndpointConfig in jakarta.websocket.server
Modifier and TypeInterfaceDescriptioninterface
The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.