Class AbstractClientSockJsSession

java.lang.Object
org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
All Implemented Interfaces:
Closeable, AutoCloseable, WebSocketSession
Direct Known Subclasses:
WebSocketClientSockJsSession, XhrClientSockJsSession

public abstract class AbstractClientSockJsSession extends Object implements WebSocketSession
Base class for SockJS client implementations of WebSocketSession.

Provides processing of incoming SockJS message frames and delegates lifecycle events and messages to the (application) WebSocketHandler.

Subclasses implement actual send as well as disconnect logic.

Since:
4.1
Author:
Rossen Stoyanchev, Juergen Hoeller