netty5/codec-http/src
Stephane Landelle 64abef5f5b Add exposeHeaders and allowedRequestHeaders that accept CharSequence, close #6328
Motivation:

Netty 4.1 introduced AsciiString and defines HttpHeaderNames constants
as such.

It would be convenient to be able to pass them to `exposeHeaders` and
`allowedRequestHeaders` directly without having to call `toString`.

Modifications:

Add `exposeHeaders` and `allowedRequestHeaders` overloads that take a
`CharSequence`.

Result:

More convenient API
2017-02-10 14:31:00 +01:00
..
main/java/io/netty/handler/codec Add exposeHeaders and allowedRequestHeaders that accept CharSequence, close #6328 2017-02-10 14:31:00 +01:00
test Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00