netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
Trustin Lee 4ce994dd4f Fix backward compatibility from the previous backport
Motivation:

The commit 50e06442c3 changed the type of
the constants in HttpHeaders.Names and HttpHeaders.Values, making 4.1
backward-incompatible with 4.0.

It also introduces newer utility classes such as HttpHeaderUtil, which
deprecates most static methods in HttpHeaders.  To ease the migration
between 4.1 and 5.0, we should deprecate all static methods that are
non-existent in 5.0, and provide proper counterpart.

Modification:

- Revert the changes in HttpHeaders.Names and Values
- Deprecate all static methods in HttpHeaders in favor of:
  - HttpHeaderUtil
  - the member methods of HttpHeaders
  - AsciiString
- Add integer and date access methods to HttpHeaders for easier future
  migration to 5.0
- Add HttpHeaderNames and HttpHeaderValues which provide standard HTTP
  constants in AsciiString
  - Deprecate HttpHeaders.Names and Values
  - Make HttpHeaderValues.WEBSOCKET lowercased because it's actually
    lowercased in all WebSocket versions but the oldest one
- Add RtspHeaderNames and RtspHeaderValues which provide standard RTSP
  constants in AsciiString
  - Deprecate RtspHeaders.*
- Do not use AsciiString.equalsIgnoreCase(CharSeq, CharSeq) if one of
  the parameters are AsciiString
- Avoid using AsciiString.toString() repetitively
  - Change the parameter type of some methods from String to
    CharSequence

Result:

Backward compatibility is recovered.  New classes and methods will make
the migration to 5.0 easier, once (Http|Rtsp)Header(Names|Values) are
ported to master.
2014-11-01 01:00:25 +09:00
..
BinaryWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
CloseWebSocketFrame.java Fix NPE problems 2014-07-20 12:55:22 +02:00
ContinuationWebSocketFrame.java Remove ContinuationWebSocketFrame.aggregatedText() 2014-04-30 14:49:17 +02:00
package-info.java Use our own URL shortener wherever possible 2014-07-31 17:06:19 -07:00
PingWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
PongWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
TextWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
Utf8Validator.java Remove ContinuationWebSocketFrame.aggregatedText() 2014-04-30 14:49:17 +02:00
WebSocket07FrameDecoder.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocket07FrameEncoder.java #751 - Added support for legacy websocket v7 in order to pass SocksJS tests 2012-12-19 12:35:56 +01:00
WebSocket08FrameDecoder.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocket08FrameEncoder.java Avoid vectored writes for small websocket messages 2014-10-12 20:12:07 +02:00
WebSocket13FrameDecoder.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocket13FrameEncoder.java Update license headers 2012-06-04 13:31:44 -07:00
WebSocket00FrameDecoder.java Fixed NPE in WebSocket00FrameDecoder if end couldn't be found in text frame 2014-07-16 20:03:57 +02:00
WebSocket00FrameEncoder.java [#2768] Correctly duplicate buffer for CloseWebSocketFrames 2014-08-14 09:54:35 +02:00
WebSocketClientHandshaker.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker07.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker08.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker13.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker00.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshakerFactory.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketClientProtocolHandler.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketClientProtocolHandshakeHandler.java Fix the leak in the WebSocketClientProtocolHandshakeHandler 2014-10-12 20:26:12 +02:00
WebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
WebSocketFrameAggregator.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
WebSocketFrameDecoder.java [#1515] Add WebSocketFrameEncoder and WebSocketFrameDecoder interfaces and let our impls implement it 2013-07-04 06:41:22 +02:00
WebSocketFrameEncoder.java [#1515] Add WebSocketFrameEncoder and WebSocketFrameDecoder interfaces and let our impls implement it 2013-07-04 06:41:22 +02:00
WebSocketHandshakeException.java Update license headers 2012-06-04 13:31:44 -07:00
WebSocketProtocolHandler.java Allow per-write promises and disallow promises on flush() 2013-07-11 00:49:48 +09:00
WebSocketServerHandshaker.java Fix #2275 %s WebSocket version %s server handshake 2014-02-28 17:19:18 -08:00
WebSocketServerHandshaker07.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker08.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker13.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker00.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshakerFactory.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerProtocolHandler.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketServerProtocolHandshakeHandler.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketUtil.java [#1579] Fix resource leakage in WebSocketUtil.base64(...) 2013-07-15 19:12:24 +02:00
WebSocketVersion.java #751 - Added support for legacy websocket v7 in order to pass SocksJS tests 2012-12-19 12:35:56 +01:00