netty5/codec-http/src
Trustin Lee 948eafdce2 Add HttpStatusClass
Related: #3157

Motivation:

It should be convenient to have an easy way to classify an
HttpResponseStatus based on the first digit of the HTTP status code, as
defined in the RFC 2616:

- Information 1xx
- Success 2xx
- Redirection 3xx
- Client Error 4xx
- Server Error 5xx

Modification:

- Add HttpStatusClass
- Add HttpResponseStatus.codeClass() that returns the class of the HTTP
  status code

Result:

It's easier to determine the class of an HTTP status
2014-11-21 10:52:28 +09:00
..
main/java/io/netty/handler/codec Add HttpStatusClass 2014-11-21 10:52:28 +09:00
test HTTP Content Encoder allow EmptyLastHttpContent 2014-11-05 23:31:27 -05:00