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
-
public class PojoEndpointClient extends PojoEndpointBase
Wrapper class for instances of POJOs annotated withClientEndpoint
so they appear as standardEndpoint
instances.
-
-
Constructor Summary
Constructors Constructor Description PojoEndpointClient(java.lang.Object pojo, java.util.List<java.lang.Class<? extends Decoder>> decoders)
Deprecated.PojoEndpointClient(java.lang.Object pojo, java.util.List<java.lang.Class<? extends Decoder>> decoders, InstanceManager instanceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
PojoEndpointClient
@Deprecated public PojoEndpointClient(java.lang.Object pojo, java.util.List<java.lang.Class<? extends Decoder>> decoders) throws DeploymentException
Deprecated.- Throws:
DeploymentException
-
PojoEndpointClient
public PojoEndpointClient(java.lang.Object pojo, java.util.List<java.lang.Class<? extends Decoder>> decoders, InstanceManager instanceManager) throws DeploymentException
- Throws:
DeploymentException
-
-
Method Detail
-
onOpen
public void onOpen(Session session, EndpointConfig config)
Description copied from class:jakarta.websocket.Endpoint
Event that is triggered when a new session starts.
-
-