netty5/codec-http2
Norman Maurer 8ec594c6eb Change HttpServerUpgradeHandler.UpgradeCodec to allow aborting upgrade
Motivation:

HttpServerUpgradeHandler.UpgradeCodec.prepareUpgradeResponse should allow to abort the upgrade and so just continue with using HTTP. Beside this we should only pass in the response HttpHeaders as this is inline with the docs.

Modifications:

- UpgradeCodec.prepareUpgradeResponse now allows to return a boolean and so allows to specifiy if the upgrade should take place.
- Change the param from FullHttpResponse to HttpHeaders to be inline with the javadocs.

Result:

More flexible and correct handling of upgrades.
2016-03-18 17:01:59 +01:00
..
src Change HttpServerUpgradeHandler.UpgradeCodec to allow aborting upgrade 2016-03-18 17:01:59 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-02-19 23:00:11 +01:00