Top Description Classes
module tomcat.embed.websocket

Package org.apache.tomcat.websocket.pojo


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

Class Summary

Modifier and TypeClass and Description
public class
Constants

Internal implementation constants.

public abstract class
PojoEndpointBase

Base implementation (client and server have different concrete implementations) of the wrapper that converts a POJO instance into a WebSocket endpoint instance.

public class
PojoEndpointClient

Wrapper class for instances of POJOs annotated with jakarta.websocket.ClientEndpoint so they appear as standard jakarta.websocket.Endpoint instances.

public class
PojoEndpointServer

Wrapper class for instances of POJOs annotated with jakarta.websocket.server.ServerEndpoint so they appear as standard jakarta.websocket.Endpoint instances.

public abstract class
PojoMessageHandlerBase<
The type of message to handle
T
>

Common implementation code for the POJO message handlers.

public abstract class
PojoMessageHandlerPartialBase<
The type of message to handle
T
>

Common implementation code for the POJO partial message handlers.

public class
PojoMessageHandlerPartialBinary

ByteBuffer specific concrete implementation for handling partial messages.

public class
PojoMessageHandlerPartialText

Text specific concrete implementation for handling partial messages.

public abstract class
PojoMessageHandlerWholeBase<
The type of message to handle
T
>

Common implementation code for the POJO whole message handlers.

public class
PojoMessageHandlerWholeBinary

ByteBuffer specific concrete implementation for handling whole messages.

public class
PojoMessageHandlerWholePong

PongMessage specific concrete implementation for handling whole messages.

public class
PojoMessageHandlerWholeText

Text specific concrete implementation for handling whole messages.

public class
PojoMethodMapping

For a POJO class annotated with jakarta.websocket.server.ServerEndpoint, an instance of this class creates and caches the method handler, method information and parameter information for the onXXX calls.

public class
PojoPathParam

Stores the parameter type and name for a parameter that needs to be passed to an onXxx method of jakarta.websocket.Endpoint.