netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
Chris Vest 782d70281e
Reduce reliance on ScheduledFuture (#11635)
Motivation:
If we don't need the scheduled future, then it will be one less complication when we change Netty Future to no longer extend JDK Future.
It would also result in fewer elements in our API.

Modification:
There was only one real use of ScheduledFuture in our code, in Cache.
This has been changed to wrap an ordinary future with a deadline for implementing the Delayed interface.
All other places were effectively overspecifying by relying on ScheduledFuture.
A few places were also specifying JDK Futures - these have been changed to specify Netty Futures.

Result:
Reduced dependency on the ScheduledFuture interfaces.
2021-08-31 16:06:34 +02:00
..
extensions Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
BinaryWebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
CloseWebSocketFrame.java Enforce status code validation in CloseWebSocketFrame (#10846) 2020-12-07 13:20:36 +01:00
ContinuationWebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
CorruptedWebSocketFrameException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PingWebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PongWebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
TextWebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
Utf8FrameValidator.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
Utf8Validator.java ByteProcessor shouldn't throw checked exception (#10767) 2020-11-03 18:54:16 +01:00
WebSocket00FrameDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocket00FrameEncoder.java Simplity some code (#11000) 2021-02-11 09:06:16 +01:00
WebSocket07FrameDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocket07FrameEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocket08FrameDecoder.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
WebSocket08FrameEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocket13FrameDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocket13FrameEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketChunkedInput.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketClientHandshakeException.java Fix checkstyle errors introduced by 33de96f448 2020-10-24 14:50:52 +02:00
WebSocketClientHandshaker.java Remove public API's that take Promise (#11625) 2021-08-30 13:15:14 +02:00
WebSocketClientHandshaker00.java Fix a number of javadoc issues (#11544) 2021-08-06 09:14:04 +02:00
WebSocketClientHandshaker07.java Fix a number of javadoc issues (#11544) 2021-08-06 09:14:04 +02:00
WebSocketClientHandshaker08.java Fix a number of javadoc issues (#11544) 2021-08-06 09:14:04 +02:00
WebSocketClientHandshaker13.java Provide new client and server websocket handshake exceptions (#10646) 2020-10-24 14:44:24 +02:00
WebSocketClientHandshakerFactory.java Provide new client and server websocket handshake exceptions (#10646) 2020-10-24 14:44:24 +02:00
WebSocketClientProtocolConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketClientProtocolHandler.java Provide new client and server websocket handshake exceptions (#10646) 2020-10-24 14:44:24 +02:00
WebSocketClientProtocolHandshakeHandler.java Change `!future.isSuccess()` to `future.isFailed()` where it makes sense (#11616) 2021-08-26 09:43:17 +02:00
WebSocketCloseStatus.java Enforce status code validation in CloseWebSocketFrame (#10846) 2020-12-07 13:20:36 +01:00
WebSocketDecoderConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketFrame.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketFrameAggregator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketFrameDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketFrameEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketHandshakeException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketProtocolHandler.java Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
WebSocketScheme.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketServerHandshakeException.java Fix checkstyle errors introduced by 33de96f448 2020-10-24 14:50:52 +02:00
WebSocketServerHandshaker.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
WebSocketServerHandshaker00.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
WebSocketServerHandshaker07.java Override Sec-WebSocket-Protocol websocket handshake response header after custom headers to avoid duplication (#10793) 2020-11-19 09:50:06 +01:00
WebSocketServerHandshaker08.java Override Sec-WebSocket-Protocol websocket handshake response header after custom headers to avoid duplication (#10793) 2020-11-19 09:50:06 +01:00
WebSocketServerHandshaker13.java Override Sec-WebSocket-Protocol websocket handshake response header after custom headers to avoid duplication (#10793) 2020-11-19 09:50:06 +01:00
WebSocketServerHandshakerFactory.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
WebSocketServerProtocolConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketServerProtocolHandler.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
WebSocketServerProtocolHandshakeHandler.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
WebSocketUtil.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WebSocketVersion.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00