netty5/codec-http/src/main/java/io/netty/handler/codec/http
skyguard1 9f4e155e36
Add Zstd.isAvailable() check in ZstdOptions (#11597)
Motivation:

At present, the verification methods of `ZstdOptions` and `BrotliOptions` are not consistent, and the processing methods of `ZstdOptions` and `BrotliOptions` in `HttpContentCompressor` are also inconsistent.
The http2 module does not add zstd-jni dependency, so `ClassNotFoundException` may be thrown

Modification:

Added `Zstd.isAvailable()` check in `ZstdOptions` to be consistent, and added zstd-jni dependency in http2 module

Result:

The verification methods of `ZstdOptions` and `BrotliOptions` are consistent, and `ClassNotFoundException` will not be thrown


Signed-off-by: xingrufei <xingrufei@sogou-inc.com>
2021-08-19 11:10:09 +02:00
..
cookie Fix ServerCookieDecoder javadoc (#11372) 2021-06-07 16:33:31 -07:00
cors Make variables final (#11548) 2021-08-06 09:27:12 +02:00
multipart Make variables final (#11548) 2021-08-06 09:27:12 +02:00
websocketx Remove Unused Imports (#11546) 2021-08-05 13:54:48 +02:00
ClientCookieEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
CombinedHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
ComposedLastHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
CompressionEncoderFactory.java Refactor HttpContentCompressor using CompressionEncoderFactory (#11480) 2021-07-13 12:25:30 +02:00
Cookie.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
CookieDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
CookieUtil.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultCookie.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultFullHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultFullHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultHttpHeaders.java Add default block in DefaultHttpHeaders (#11329) 2021-05-28 08:47:53 +02:00
DefaultHttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultHttpObject.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
DefaultLastHttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
EmptyHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
FullHttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
FullHttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
FullHttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpChunkedInput.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpClientCodec.java Support large or variable chunk sizes (#11469) 2021-07-20 15:21:26 +02:00
HttpClientUpgradeHandler.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpConstants.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpContent.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpContentCompressor.java Add Zstd.isAvailable() check in ZstdOptions (#11597) 2021-08-19 11:10:09 +02:00
HttpContentDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpContentDecompressor.java Introduce BrotliDecoder (#10960) 2021-05-10 15:25:24 +02:00
HttpContentEncoder.java Fix issue if encoding is enabled but not used (#11358) 2021-06-07 08:52:44 +02:00
HttpExpectationFailedEvent.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpHeaderDateFormat.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpHeaderNames.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpHeadersEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpHeaderValues.java Add zstd http header value (#11463) 2021-07-08 11:44:54 +02:00
HttpMessage.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpMessageDecoderResult.java Introduce HttpMessageDecoderResult to expose decoded header size (#11068) 2021-03-12 13:49:51 +01:00
HttpMessageUtil.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpMethod.java Remove Unused Imports (#11546) 2021-08-05 13:54:48 +02:00
HttpObject.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpObjectAggregator.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpObjectDecoder.java Support large or variable chunk sizes (#11469) 2021-07-20 15:21:26 +02:00
HttpObjectEncoder.java Add state in exception message (#10842) 2020-12-07 10:49:09 +01:00
HttpRequest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpRequestDecoder.java Support large or variable chunk sizes (#11469) 2021-07-20 15:21:26 +02:00
HttpRequestEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpResponse.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpResponseDecoder.java Support large or variable chunk sizes (#11469) 2021-07-20 15:21:26 +02:00
HttpResponseEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpResponseStatus.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpScheme.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpServerCodec.java Support large or variable chunk sizes (#11469) 2021-07-20 15:21:26 +02:00
HttpServerExpectContinueHandler.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpServerKeepAliveHandler.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpServerUpgradeHandler.java server h2c upgrade fail when request doesn't have connection header (#11569) 2021-08-12 09:04:18 -07:00
HttpStatusClass.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
HttpUtil.java HttpUtil#normalizeAndGetContentLength() should handle empty value (#11409) 2021-06-23 12:07:16 +02:00
HttpVersion.java Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec-http) (#11170) (#11187) 2021-04-23 08:08:28 +02:00
LastHttpContent.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
QueryStringDecoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
QueryStringEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
ReadOnlyHttpHeaders.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
ServerCookieEncoder.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00