Deprecate old websocket package / Update websocket version list

This commit is contained in:
Trustin Lee 2011-12-09 14:37:50 +09:00
parent f91ebb14b2
commit 2b8b11c60a
6 changed files with 12 additions and 1 deletions

View File

@ -20,6 +20,8 @@ import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.util.CharsetUtil;
/**
* @deprecated Use <tt>org.jboss.netty.handler.codec.http.websocketx</tt> instead.
*
* The default {@link WebSocketFrame} implementation.
*/
public class DefaultWebSocketFrame implements WebSocketFrame {

View File

@ -19,6 +19,8 @@ import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
/**
* @deprecated Use <tt>org.jboss.netty.handler.codec.http.websocketx</tt> instead.
*
* A Web Socket frame that represents either text or binary data.
*/
public interface WebSocketFrame {

View File

@ -23,6 +23,8 @@ import org.jboss.netty.handler.codec.replay.ReplayingDecoder;
import org.jboss.netty.handler.codec.replay.VoidEnum;
/**
* @deprecated Use <tt>org.jboss.netty.handler.codec.http.websocketx</tt> instead.
*
* Decodes {@link ChannelBuffer}s into {@link WebSocketFrame}s.
* <p>
* For the detailed instruction on adding add Web Socket support to your HTTP

View File

@ -22,6 +22,8 @@ import org.jboss.netty.channel.ChannelHandler.Sharable;
import org.jboss.netty.handler.codec.oneone.OneToOneEncoder;
/**
* @deprecated Use <tt>org.jboss.netty.handler.codec.http.websocketx</tt> instead.
*
* Encodes a {@link WebSocketFrame} into a {@link ChannelBuffer}.
* <p>
* For the detailed instruction on adding add Web Socket support to your HTTP

View File

@ -15,6 +15,8 @@
*/
/**
* @deprecated Use <tt>org.jboss.netty.handler.codec.http.websocketx</tt> instead.
*
* Encoder, decoder and their related message types for
* <a href="http://en.wikipedia.org/wiki/Web_Sockets">Web Socket</a> data frames.
* <p>

View File

@ -23,7 +23,8 @@
* <ul>
* <li><a href="http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-00">draft-ietf-hybi-thewebsocketprotocol-00</a></li>
* <li><a href="http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10">draft-ietf-hybi-thewebsocketprotocol-10</a></li>
* </ul>
* <li><a href="http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17">draft-ietf-hybi-thewebsocketprotocol-17</a></li>
* </ul>
* </p>
* <p>
* In the future, as the specification develops, more versions will be supported.