Class PojoHolder

java.lang.Object
org.apache.tomcat.websocket.PojoHolder
All Implemented Interfaces:
ClientEndpointHolder

public class PojoHolder extends Object implements ClientEndpointHolder
Holds a POJO instance for use as a WebSocket client endpoint.
  • Constructor Details

    • PojoHolder

      public PojoHolder(Object pojo, ClientEndpointConfig clientEndpointConfig)
      Constructs a new PojoHolder.
      Parameters:
      pojo - the POJO instance annotated with @ClientEndpoint
      clientEndpointConfig - the client endpoint configuration
  • Method Details