Top Deprecated
Netty5/Codec/HTTP 5.0.0.Alpha5

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
io.netty5.handler.codec.http.HttpContentCompressor.HttpContentCompressor(int
1 yields the fastest compression and 9 yields the best compression. 0 means no compression. The default compression level is 6.
compressionLevel
)

io.netty5.handler.codec.http.HttpContentCompressor.HttpContentCompressor(int
1 yields the fastest compression and 9 yields the best compression. 0 means no compression. The default compression level is 6.
compressionLevel
,
int
The response body is compressed when the size of the response body exceeds the threshold. The value should be a non negative number. 0 will enable compression for all responses.
contentSizeThreshold
)

Returns:

the CharSequence with charset from message's Content-Type header or null if charset is not presented
io.netty5.handler.codec.http.HttpUtil.getCharsetAsString
(HttpMessage
entity to fetch Content-Type header from
message
)

use getCharsetAsSequence(HttpMessage)