Package org.playframework.netty.http
Interface WebSocketHttpResponse
-
- All Superinterfaces:
io.netty.handler.codec.DecoderResultProvider
,io.netty.handler.codec.http.HttpMessage
,io.netty.handler.codec.http.HttpObject
,io.netty.handler.codec.http.HttpResponse
,org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame>
,org.reactivestreams.Publisher<io.netty.handler.codec.http.websocketx.WebSocketFrame>
,org.reactivestreams.Subscriber<io.netty.handler.codec.http.websocketx.WebSocketFrame>
- All Known Implementing Classes:
DefaultWebSocketHttpResponse
public interface WebSocketHttpResponse extends io.netty.handler.codec.http.HttpResponse, org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame>
CombinesHttpResponse
andProcessor
into one message. So it represents an http response with a processor that can handle a WebSocket. This is only used for server side responses. For client side websocket requests, it's better to configure the reactive streams pipeline directly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory
handshakerFactory()
Get the handshaker factory to use to reconfigure the channel.-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
-
-