Deprecate websocket-client
[yangtools.git] / websocket / websocket-client / src / test / java / org / opendaylight / yangtools / websocket / server / WebSocketServerInitializer.java
index 4c7f0ce92f07a190a8ba7206b29f108e4f12f4e9..eb15971a1f470d77d9da4c6dd8c61ba17f4b46e8 100644 (file)
@@ -20,11 +20,11 @@ import io.netty.channel.ChannelPipeline;
 import io.netty.channel.socket.SocketChannel;
 import io.netty.handler.codec.http.HttpObjectAggregator;
 import io.netty.handler.codec.http.HttpServerCodec;
-import org.opendaylight.yangtools.websocket.server.WebSocketServerHandler;
 
+@Deprecated
 public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> {
     @Override
-    public void initChannel(SocketChannel ch) throws Exception {
+    public void initChannel(final SocketChannel ch) throws Exception {
         ChannelPipeline pipeline = ch.pipeline();
         pipeline.addLast("codec-http", new HttpServerCodec());
         pipeline.addLast("aggregator", new HttpObjectAggregator(65536));