# Package org.apache.tomcat.websocket.pojo

This package provides the necessary plumbing to convert an annotated POJO into a WebSocket `Endpoint`.

Class Summary
Constants: Internal implementation constants.
PojoEndpointBase: Base implementation (client and server have different concrete implementations) of the wrapper that converts a POJO instance into a WebSocket endpoint instance.
PojoEndpointClient: Wrapper class for instances of POJOs annotated with `ClientEndpoint` so they appear as standard `Endpoint` instances.
PojoEndpointServer: Wrapper class for instances of POJOs annotated with `ServerEndpoint` so they appear as standard `Endpoint` instances.
PojoMessageHandlerBase<T>: Common implementation code for the POJO message handlers.
PojoMessageHandlerPartialBase<T>: Common implementation code for the POJO partial message handlers.
PojoMessageHandlerPartialBinary: ByteBuffer specific concrete implementation for handling partial messages.
PojoMessageHandlerPartialText: Text specific concrete implementation for handling partial messages.
PojoMessageHandlerWholeBase<T>: Common implementation code for the POJO whole message handlers.
PojoMessageHandlerWholeBinary: ByteBuffer specific concrete implementation for handling whole messages.
PojoMessageHandlerWholePong: PongMessage specific concrete implementation for handling whole messages.
PojoMessageHandlerWholeText: Text specific concrete implementation for handling whole messages.
PojoMethodMapping: For a POJO class annotated with `ServerEndpoint`, an instance of this class creates and caches the method handler, method information and parameter information for the onXXX calls.
PojoPathParam: Stores the parameter type and name for a parameter that needs to be passed to an onXxx method of `Endpoint`.