Interface WebSocketRoute<A extends ExchangeContext>

Type Parameters:
A - the type of the exchange context
All Superinterfaces:
AcceptAware, ContentAware, InterceptableRoute<A,WebExchange<A>>, MethodAware, PathAware, Route<A,WebExchange<A>>, WebRoute<A>, WebSocketProtocolAware

public interface WebSocketRoute<A extends ExchangeContext> extends WebRoute<A>, WebSocketProtocolAware

A web route that upgrade to the WebSocket procotol.

A WebSocket route specified a WebSocketExchangeHandler used to handle a Web2SocketExchange once the WebSocket connection has been established. The method shall always be GET and consume, produce and handler always null.

Since:
1.5
Author:
Jeremy Kuhn