Package org.apache.tomcat.websocket.pojo
Class PojoEndpointClient
java.lang.Object
javax.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) Deprecated.PojoEndpointClient
(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
@Deprecated public PojoEndpointClient(Object pojo, List<Class<? extends Decoder>> decoders) throws DeploymentException Deprecated.- Throws:
DeploymentException
-
PojoEndpointClient
public PojoEndpointClient(Object pojo, List<Class<? extends Decoder>> decoders, InstanceManager instanceManager) throws DeploymentException - Throws:
DeploymentException
-
-
Method Details
-
onOpen
Description copied from class:javax.websocket.Endpoint
Event that is triggered when a new session starts.
-