Package org.apache.tomcat.websocket.pojo
Class PojoEndpointClient
java.lang.Object
jakarta.websocket.Endpoint
org.apache.tomcat.websocket.pojo.PojoEndpointBase
org.apache.tomcat.websocket.pojo.PojoEndpointClient
Wrapper class for instances of POJOs annotated with
ClientEndpoint
so they appear as
standard Endpoint
instances.-
Constructor Summary
ConstructorDescriptionPojoEndpointClient
(Object pojo, List<Class<? extends Decoder>> decoders, InstanceManager instanceManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onOpen
(Session session, EndpointConfig config) Event that is triggered when a new session starts.Methods inherited from class org.apache.tomcat.websocket.pojo.PojoEndpointBase
doOnOpen, getMethodMapping, getPojo, onClose, onError, setMethodMapping, setPojo
-
Constructor Details
-
PojoEndpointClient
public PojoEndpointClient(Object pojo, List<Class<? extends Decoder>> decoders, InstanceManager instanceManager) throws DeploymentException - Throws:
DeploymentException
-
-
Method Details
-
onOpen
Description copied from class:jakarta.websocket.Endpoint
Event that is triggered when a new session starts.
-