Interface Web2SocketExchange<A extends ExchangeContext>

Type Parameters:
A - the type of the exchange context
All Superinterfaces:
BaseWebSocketExchange<A>, WebSocketExchange<A>

public interface Web2SocketExchange<A extends ExchangeContext> extends WebSocketExchange<A>

A WebSocket exchange that extends the HTTP server WebSocketExchange with features for the Web.

It supports inbound and outbound message decoding and encoding based on the negotiated subprotocol which is interpreted as a compact application media types (see MediaTypes.normalizeApplicationMediaType(java.lang.String)).

Since:
1.5
Author:
Jeremy Kuhn