netty5/codec-http/src/main/java/io/netty/handler/codec/http
Chris Vest 0cb4cc4e49
Make Promise not extend Future (#11634)
Motivation:
We wish to separate these two into clearer write/read interfaces.
In particular, we don't want to be able to add listeners to promises, because it makes it easy to add them out of order.
We can't prevent it entirely, because any promise can be freely converted to a future where listeners can be added.
We can, however, discourage this in the API.

Modification:
The Promise interface no longer extends the Future interface.
Numerous changes to make the project compile and its tests run.

Result:
Clearer separation of concerns in the code.
2021-09-02 10:46:54 +02:00
..
cookie Fix ServerCookieDecoder javadoc (#11372) 2021-06-07 16:37:15 -07:00
cors Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
multipart Ensure DiskFileUpload#toString returns a string that uses the correct deleteOnExit (#11628) 2021-08-31 09:01:53 +02:00
websocketx Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
CombinedHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ComposedLastHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
CompressionEncoderFactory.java Refactor HttpContentCompressor using CompressionEncoderFactory (#11480) 2021-08-19 08:44:04 +02:00
DefaultFullHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultFullHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultHttpHeaders.java Add default block in DefaultHttpHeaders (#11329) 2021-05-28 08:48:15 +02:00
DefaultHttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultHttpObject.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultLastHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DelegatingChannelHandlerContext.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
EmptyHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
FullHttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
FullHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
FullHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpChunkedInput.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
HttpClientCodec.java Add default block in HttpClientCodec (#11352) 2021-06-02 08:42:00 +02:00
HttpClientUpgradeHandler.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
HttpConstants.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpContentCompressor.java Add Zstd.isAvailable() check in ZstdOptions (#11597) 2021-08-19 11:10:40 +02:00
HttpContentDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpContentDecompressor.java Introduce BrotliDecoder (#10960) 2021-05-10 15:39:01 +02:00
HttpContentEncoder.java Fix issue if encoding is enabled but not used (#11358) 2021-06-07 08:52:57 +02:00
HttpExpectationFailedEvent.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpHeaderNames.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpHeadersEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpHeaderValues.java Add zstd http header value (#11463) 2021-07-08 11:45:28 +02:00
HttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpMessageDecoderResult.java Introduce HttpMessageDecoderResult to expose decoded header size (#11068) 2021-03-12 13:50:51 +01:00
HttpMessageUtil.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpMethod.java Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec-http) (#11170) (#11187) 2021-04-23 08:18:02 +02:00
HttpObject.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpObjectAggregator.java Change !future.isSuccess() to future.isFailed() where it makes sense (#11616) 2021-08-26 09:43:17 +02:00
HttpObjectDecoder.java Fix a number of javadoc issues (#11544) 2021-08-06 09:14:04 +02:00
HttpObjectEncoder.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
HttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpRequestDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpRequestEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpResponseDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpResponseEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpResponseStatus.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpScheme.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpServerCodec.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpServerExpectContinueHandler.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
HttpServerKeepAliveHandler.java Adjust usage of ChannelFutureListeners.CLOSE to use the ChannelHandlerContext (#11631) 2021-08-31 12:49:30 +02:00
HttpServerUpgradeHandler.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
HttpStatusClass.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
HttpUtil.java HttpUtil#normalizeAndGetContentLength() should handle empty value (#11409) 2021-06-23 12:07:28 +02:00
HttpVersion.java Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec-http) (#11170) (#11187) 2021-04-23 08:18:02 +02:00
LastHttpContent.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
QueryStringDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
QueryStringEncoder.java Fix QueryStringEncoder encodes tilde (#11590) 2021-08-26 12:56:03 -07:00
ReadOnlyHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00