Module io.inverno.mod.web.base
Package io.inverno.mod.web.base.ws
Interface BaseWeb2SocketExchange<A extends ExchangeContext>
- Type Parameters:
A- the exchange context type
- All Superinterfaces:
BaseWebSocketExchange<A>
- All Known Subinterfaces:
Web2SocketExchange<A>,Web2SocketExchange<A>
Base Web WebSocket exchange supporting message encoding and decoding.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtendsBaseWebSocketExchange.Inboundto support WebSocket message decoding.static interfaceExtendsBaseWebSocketExchange.Outboundto support WebSocket message encoding. -
Method Summary
Methods inherited from interface io.inverno.mod.http.base.ws.BaseWebSocketExchange
close, close, close, close, close, close, context, getSubprotocol
-
Method Details
-
inbound
BaseWeb2SocketExchange.Inbound inbound()Description copied from interface:BaseWebSocketExchangeReturns the inbound part of the WebSocket exchange.
This basically corresponds to the stream of WebSocket frames received by the server from the client or by the client from the server.
- Specified by:
inboundin interfaceBaseWebSocketExchange<A extends ExchangeContext>- Returns:
- the inbound part
-
outbound
BaseWeb2SocketExchange.Outbound outbound()Description copied from interface:BaseWebSocketExchangeReturns the outbound part of the WebSocket exchange.
This basically corresponds to the stream of WebSocket frames sent by the server to the client or by the client to the server.
- Specified by:
outboundin interfaceBaseWebSocketExchange<A extends ExchangeContext>- Returns:
- the outbound part
-