Class PojoEndpointServer

public class PojoEndpointServer extends PojoEndpointBase
Wrapper class for instances of POJOs annotated with ServerEndpoint so they appear as standard Endpoint instances.
  • Constructor Details

  • Method Details

    • onOpen

      public void onOpen(Session session, EndpointConfig endpointConfig)
      Description copied from class: javax.websocket.Endpoint
      Event that is triggered when a new session starts.
      Specified by:
      onOpen in class Endpoint
      session - The new session.
      endpointConfig - The configuration with which the Endpoint was configured.