Package org.apache.tomcat.websocket.pojo
Class PojoEndpointServer
- java.lang.Object
-
- jakarta.websocket.Endpoint
-
- org.apache.tomcat.websocket.pojo.PojoEndpointBase
-
- org.apache.tomcat.websocket.pojo.PojoEndpointServer
-
public class PojoEndpointServer extends PojoEndpointBase
Wrapper class for instances of POJOs annotated withServerEndpoint
so they appear as standardEndpoint
instances.
-
-
Constructor Summary
Constructors Constructor Description PojoEndpointServer(java.util.Map<java.lang.String,java.lang.String> pathParameters, java.lang.Object pojo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onOpen(Session session, EndpointConfig endpointConfig)
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
-
-
-
-
Method Detail
-
onOpen
public void onOpen(Session session, EndpointConfig endpointConfig)
Description copied from class:jakarta.websocket.Endpoint
Event that is triggered when a new session starts.
-
-