netty5/codec-stomp/src/main/java/io/netty/handler/codec/stomp
Scott Mitchell 19658e9cd8 HTTP/2 Headers Type Updates
Motivation:
The HTTP/2 RFC (https://tools.ietf.org/html/rfc7540#section-8.1.2) indicates that header names consist of ASCII characters. We currently use ByteString to represent HTTP/2 header names. The HTTP/2 RFC (https://tools.ietf.org/html/rfc7540#section-10.3) also eludes to header values inheriting the same validity characteristics as HTTP/1.x. Using AsciiString for the value type of HTTP/2 headers would allow for re-use of predefined HTTP/1.x values, and make comparisons more intuitive. The Headers<T> interface could also be expanded to allow for easier use of header types which do not have the same Key and Value type.

Motivation:
- Change Headers<T> to Headers<K, V>
- Change Http2Headers<ByteString> to Http2Headers<CharSequence, CharSequence>
- Remove ByteString. Having AsciiString extend ByteString complicates equality comparisons when the hash code algorithm is no longer shared.

Result:
Http2Header types are more representative of the HTTP/2 RFC, and relationship between HTTP/2 header name/values more directly relates to HTTP/1.x header names/values.
2015-10-30 15:29:44 -07:00
..
DefaultLastStompContentSubframe.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
DefaultStompContentSubframe.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
DefaultStompFrame.java Fix NPE problems 2014-07-20 12:55:22 +02:00
DefaultStompHeaders.java HTTP/2 Headers Type Updates 2015-10-30 15:29:44 -07:00
DefaultStompHeadersSubframe.java Introduce TextHeaders and AsciiString 2014-06-14 15:36:19 +09:00
LastStompContentSubframe.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
package-info.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompCommand.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompConstants.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompContentSubframe.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompFrame.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompHeaders.java HTTP/2 Headers Type Updates 2015-10-30 15:29:44 -07:00
StompHeadersSubframe.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompSubframe.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
StompSubframeAggregator.java HttpObjectAggregator doesn't check content-length header 2015-08-17 09:26:50 -07:00
StompSubframeDecoder.java Better parsing for STOMP body with no length. 2015-09-29 16:09:54 +02:00
StompSubframeEncoder.java Headers Performance Boost and Interface Simplification 2015-08-17 08:50:11 -07:00