netty5/testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn
Norman Maurer 697952e3e6
Add WebSocketClientHandshaker / WebSocketServerHandshaker close methods that take ChannelHandlerContext as parameter (#11171)
Motivation:

At the moment we only expose close(...) methods that take a Channel as paramater. This can be problematic as the write will start at the end of the pipeline which may contain ChannelOutboundHandler implementations that not expect WebSocketFrame objects. We should better also support to pass in a ChannelHandlerContext as starting point for the write which ensures that the WebSocketFrame objects will be handled correctly from this position of the pipeline.

Modifications:

- Add new close(...) methods that take a ChannelHandlerContext
- Add javadoc sentence to point users to the new methods.

Result:

Be able to "start" the close at the right position in the pipeline.
2021-04-21 15:16:10 +02:00
..
AutobahnServer.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
AutobahnServerHandler.java Add WebSocketClientHandshaker / WebSocketServerHandshaker close methods that take ChannelHandlerContext as parameter (#11171) 2021-04-21 15:16:10 +02:00
AutobahnServerInitializer.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00