Class PojoEndpointServer

    • Constructor Detail

      • PojoEndpointServer

        public PojoEndpointServer​(java.util.Map<java.lang.String,​java.lang.String> pathParameters,
                                  java.lang.Object pojo)
        Constructs a new PojoEndpointServer.
        Parameters:
        pathParameters - the path parameters for the endpoint
        pojo - the POJO instance annotated with @ServerEndpoint
    • 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.
        Specified by:
        onOpen in class Endpoint
        Parameters:
        session - The new session.
        endpointConfig - The configuration with which the Endpoint was configured.