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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonOpen(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, getPathParameters, getPojo, onClose, onError, setMethodMapping, setPathParameters, setPojo
-
Constructor Details
-
PojoEndpointClient
public PojoEndpointClient(Object pojo, List<Class<? extends Decoder>> decoders) throws DeploymentException - Throws:
DeploymentException
-
-
Method Details
-
onOpen
Description copied from class:javax.websocket.EndpointEvent that is triggered when a new session starts.
-