@Internal public class DefaultWebSocketHttpResponse extends io.netty.handler.codec.http.DefaultHttpResponse implements WebSocketHttpResponse
| Constructor and Description | 
|---|
| DefaultWebSocketHttpResponse(io.netty.handler.codec.http.HttpVersion version,
                            io.netty.handler.codec.http.HttpResponseStatus status,
                            boolean validateHeaders,
                            org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame> processor,
                            io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory handshakerFactory) | 
| DefaultWebSocketHttpResponse(io.netty.handler.codec.http.HttpVersion version,
                            io.netty.handler.codec.http.HttpResponseStatus status,
                            org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame> processor,
                            io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory handshakerFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory | handshakerFactory()Get the handshaker factory to use to reconfigure the channel. | 
| void | onComplete() | 
| void | onError(java.lang.Throwable error) | 
| void | onNext(io.netty.handler.codec.http.websocketx.WebSocketFrame webSocketFrame) | 
| void | onSubscribe(org.reactivestreams.Subscription subscription) | 
| void | subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.websocketx.WebSocketFrame> subscriber) | 
equals, getStatus, hashCode, setProtocolVersion, setStatus, status, toStringgetProtocolVersion, headers, protocolVersiondecoderResult, getDecoderResult, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStatus, setProtocolVersion, setStatus, statuspublic DefaultWebSocketHttpResponse(io.netty.handler.codec.http.HttpVersion version,
                                    io.netty.handler.codec.http.HttpResponseStatus status,
                                    org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame> processor,
                                    io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory handshakerFactory)
version - The Http versionstatus - The Http response statusprocessor - The ProcessorhandshakerFactory - The WebSocketServerHandshakerFactorypublic DefaultWebSocketHttpResponse(io.netty.handler.codec.http.HttpVersion version,
                                    io.netty.handler.codec.http.HttpResponseStatus status,
                                    boolean validateHeaders,
                                    org.reactivestreams.Processor<io.netty.handler.codec.http.websocketx.WebSocketFrame,io.netty.handler.codec.http.websocketx.WebSocketFrame> processor,
                                    io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory handshakerFactory)
version - The Http versionvalidateHeaders - Whether to validate the headersstatus - The Http response statusprocessor - The ProcessorhandshakerFactory - The WebSocketServerHandshakerFactorypublic io.netty.handler.codec.http.websocketx.WebSocketServerHandshakerFactory handshakerFactory()
WebSocketHttpResponsehandshakerFactory in interface WebSocketHttpResponsepublic void subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.websocketx.WebSocketFrame> subscriber)
subscribe in interface org.reactivestreams.Publisher<io.netty.handler.codec.http.websocketx.WebSocketFrame>public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<io.netty.handler.codec.http.websocketx.WebSocketFrame>public void onNext(io.netty.handler.codec.http.websocketx.WebSocketFrame webSocketFrame)
onNext in interface org.reactivestreams.Subscriber<io.netty.handler.codec.http.websocketx.WebSocketFrame>public void onError(java.lang.Throwable error)
onError in interface org.reactivestreams.Subscriber<io.netty.handler.codec.http.websocketx.WebSocketFrame>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<io.netty.handler.codec.http.websocketx.WebSocketFrame>