Package org.apache.tomcat.websocket.pojo
package org.apache.tomcat.websocket.pojo
This package provides the necessary plumbing to convert an annotated POJO into a WebSocket
Endpoint
.-
ClassDescriptionInternal implementation constants.Base implementation (client and server have different concrete implementations) of the wrapper that converts a POJO instance into a WebSocket endpoint instance.Wrapper class for instances of POJOs annotated with
ClientEndpoint
so they appear as standardEndpoint
instances.Wrapper class for instances of POJOs annotated withServerEndpoint
so they appear as standardEndpoint
instances.Common implementation code for the POJO message handlers.Common implementation code for the POJO partial message handlers.ByteBuffer specific concrete implementation for handling partial messages.Text specific concrete implementation for handling partial messages.Common implementation code for the POJO whole message handlers.ByteBuffer specific concrete implementation for handling whole messages.PongMessage specific concrete implementation for handling whole messages.Text specific concrete implementation for handling whole messages.For a POJO class annotated withServerEndpoint
, an instance of this class creates and caches the method handler, method information and parameter information for the onXXX calls.Stores the parameter type and name for a parameter that needs to be passed to an onXxx method ofEndpoint
.