netty5/codec-http/src
Trustin Lee 3972bacd60
Provide a way to pass through a certain HTTP upgrade request (#11267)
Motivation:

A user might want to handle a certain HTTP upgrade request differently
than what `HttpServerUpgradeHandler` does by default. For example, a
user could let `HttpServerUpgradeHandler` handle HTTP/2 upgrades but
not WebSocket upgrades.

Modifications:

- Added `HttpServerUpgradeHandler.isUpgrade(HttpRequest)` so a user can
  tell `HttpServerUpgradeHandler` to pass the request as it is to the
  next handler.

Result:

- A user can handle a certain upgrade request specially.
2021-05-18 11:42:38 +02:00
..
main Provide a way to pass through a certain HTTP upgrade request (#11267) 2021-05-18 11:42:38 +02:00
test Provide a way to pass through a certain HTTP upgrade request (#11267) 2021-05-18 11:42:38 +02:00