Deprecated API
Contents
-
Deprecated PackagesPackageDescriptionuse NIO / EPOLL / KQUEUE transport.use NIO based SCTP implementation.use NIO / EPOLL / KQUEUE transport.This package has been deprecated with no replacement, because serialization can be a security liability
-
Deprecated InterfacesInterfaceDescriptionUse
ChannelFactory
instead.UseByteProcessor
.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.UseCookie
instead.This class has been deprecated with no replacement, because serialization can be a security liabilityoverrideSingleThreadEventExecutor.wakesUpForTask(java.lang.Runnable)
to re-create this behaviouroverrideSingleThreadEventExecutor.wakesUpForTask(java.lang.Runnable)
to re-create this behaviourplease useResourceLeakTracker
as it may lead to false-positives.
-
Deprecated ClassesClassDescriptionDo not use.Do not use.Do not use.Do not use.use the Little Endian accessors, e.g.
getShortLE
,getIntLE
instead.UsePromiseCombiner
Class which is used to consolidate multiple channel futures into one, by listening to the individual futures and producing an aggregated result (success/failure) when all futures have completed.usePromiseNotifier
.UseDefaultEventLoopGroup
instead.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.useNioSctpChannel
.useNioSctpServerChannel
.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.use NIO / EPOLL / KQUEUE transport.this will be remove in the next-major release.this will be remove in the next-major release.UseSnappyFrameDecoder
instead.UseSnappyFrameEncoder
instead.UseClientCookieDecoder
orServerCookieDecoder
instead. Decodes an HTTP header value intoCookie
s. This decoder can decode the HTTP cookie version 0, 1, and 2.HttpRequest
req = ...; String value = req.getHeader("Cookie"); Set<Cookie
> cookies =CookieDecoder
.decode(value);Duplicate of package private $CookieUtil
UseCorsConfigBuilder
instead.Removed without alternatives.UseDefaultCookie
instead.UseDateFormatter
insteadUseHttpHeaderNames
instead. Standard HTTP header names.UseHttpHeaderValues
instead. Standard HTTP header values.UseServerCookieEncoder
insteaduseHttp2FrameCodecBuilder
together withHttp2MultiplexHandler
.useHttp2FrameCodecBuilder
together withHttp2MultiplexHandler
.UseRtspHeaderNames
orRtspHeaderValues
instead. Standard RTSP header names and values.UseRtspHeaderNames
instead. Standard RTSP header names.UseRtspHeaderValues
instead. Standard RTSP header values.UseRtspDecoder
instead.UseRtspEncoder
instead.UseRtspDecoder
directly insteadUseRtspEncoder
directly insteadUseRtspDecoder
directly insteadUseRtspEncoder
directly insteadThis class has been deprecated with no replacement, because serialization can be a security liabilityThis class has been deprecated with no replacement, because serialization can be a security liabilityThis class has been deprecated with no replacement, because serialization can be a security liabilityThis class has been deprecated with no replacement, because serialization can be a security liabilityThis class has been deprecated with no replacement, because serialization can be a security liabilityThis class has been deprecated with no replacement, because serialization can be a security liabilityUsePromiseCombiner(EventExecutor)
.GenericFutureListener
implementation which consolidates multipleFuture
s into one, by listening to individualFuture
s and producing an aggregated result (success/failure) when allFuture
s have completed.UseDomainWildcardMappingBuilder
instead.For removal in Netty 4.2. Please useinvalid reference
ConcurrentHashMap#newKeySet()
For removal in netty 4.2This class will be removed in the future.will be removed in the next major release
-
Deprecated EnumsEnumDescriptionthis should never be used by an user!
-
Deprecated Exception ClassesException ClassDescriptionThis class will be removed in the future version.
-
Deprecated FieldsFieldDescriptionThere is state for
DefaultMaxMessagesRecvByteBufAllocator.maxMessagesPerRead()
which is typically based upon channel type.UseChannelOption.TCP_FASTOPEN
instead.UseChannelOption.TCP_FASTOPEN_CONNECT
instead.useHttpHeaderNames.CONNECTION
"keep-alive"
useHttpHeaderNames.CONNECTION
"proxy-connection"
UseEmptyHttpHeaders.INSTANCE
.The instance is instantiated here to break the cyclic static initialization between
EmptyHttpHeaders
andHttpHeaders
. The issue is that if someone accessesEmptyHttpHeaders.INSTANCE
beforeHttpHeaders.EMPTY_HEADERS
thenHttpHeaders.EMPTY_HEADERS
will benull
.SSLv2 is no longer secure. Consider usingSslProtocols.TLS_v1_2
orSslProtocols.TLS_v1_3
SSLv2Hello is no longer secure. Consider usingSslProtocols.TLS_v1_2
orSslProtocols.TLS_v1_3
SSLv3 is no longer secure. Consider usingSslProtocols.TLS_v1_2
orSslProtocols.TLS_v1_3
TLSv1 is no longer secure. Consider usingSslProtocols.TLS_v1_2
orSslProtocols.TLS_v1_3
TLSv1.1 is no longer secure. Consider usingSslProtocols.TLS_v1_2
orSslProtocols.TLS_v1_3
These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.These padding fields will be removed in the future.
-
Deprecated MethodsMethodDescriptionUse
AbstractBootstrap.config()
instead.UseServerBootstrap.config()
instead.use the Little Endian accessors, e.g.getShortLE
,getIntLE
instead of creating a buffer with swappedendianness
.use the Little Endian accessors, e.g.getShortLE
,getIntLE
instead of creating a buffer with swappedendianness
.Tiny allocations have been merged into small allocations.Tiny allocations have been merged into small allocations.Tiny deallocations have been merged into small deallocations.Tiny sub-pages have been merged into small sub-pages.Tiny sub-pages have been merged into small sub-pages.Tiny caches have been merged into small caches.will be removed Free all cached buffers for the callingThread
.will be removed Returnstrue
if the callingThread
has aThreadLocal
cache for the allocated buffers.Tiny caches have been merged into small caches.UseByteBuf.asReadOnly()
.no use-case for this.no use-case for this.Use {AbstractCoalescingBufferQueue#composeFirst(ByteBufAllocator, ByteBuf, int)}UseMaxMessagesRecvByteBufAllocator
andMaxMessagesRecvByteBufAllocator.maxMessagesPerRead()
.Returns the maximum number of messages to read per read loop. a
channelRead()
event. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages.UseMaxMessagesRecvByteBufAllocator
andMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int)
.Sets the maximum number of messages to read per read loop. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages.
if you want to handle this event you should implementChannelInboundHandler
and implement the method there.is part ofChannelInboundHandler
this method is no longer supported. This functionality is internal to this package.UseEventLoopGroup.register(ChannelPromise)
instead.UseFileRegion.transferred()
instead.This method will be removed in the next major feature release. Deregister allChannel
s in this group from theirEventLoop
. Please note that this operation is asynchronous asChannelOutboundInvoker.deregister()
is.This method will be removed in the next major feature release. Deregister allChannel
s in this group from theirEventLoop
that are matched by the givenChannelMatcher
. Please note that this operation is asynchronous asChannelOutboundInvoker.deregister()
is.UseChannelGroup.writeAndFlush(Object)
instead.UseChannelGroup.writeAndFlush(Object, ChannelMatcher)
instead.No longer supported. No longer supported.UseAbstractNioChannel.clearReadPending()
if appropriate instead. No longer supported.No longer supported. No longer supported.UseAbstractOioChannel.clearReadPending()
if appropriate instead. No longer supported.io.netty.channel.unix.Errors.ioResult(String, int, Errors.NativeIoException, ClosedChannelException) Not part of RFC6265Not part of RFC6265CookieUtil is package private, will be removed once old Cookie API is droppedUseCookie.comment()
instead.UseCookie.commentUrl()
instead.UseCookie.domain()
instead.UseCookie.maxAge()
instead.UseCookie.name()
instead.UseCookie.path()
instead.UseCookie.ports()
instead.UseCookie.value()
instead.UseCookie.version()
instead.Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265Not part of RFC6265UseCorsConfigBuilder.allowCredentials()
instead.UseCorsConfigBuilder.allowedRequestHeaders(String...)
instead.UseCorsConfigBuilder.allowNullOrigin()
instead.UseCorsConfigBuilder.build()
instead.UseCorsConfigBuilder.disable()
instead.UseCorsConfigBuilder.exposeHeaders(String...)
instead.UseCorsConfigBuilder.maxAge(long)
instead.UseCorsConfigBuilder.noPreflightResponseHeaders()
instead.io.netty.handler.codec.http.cors.CorsConfig.Builder.preflightResponseHeader(CharSequence, Object...) UseCorsConfigBuilder.shortCircuit()
instead.UseCorsConfig.isShortCircuit()
instead.UseCorsConfigBuilder.forAnyOrigin()
instead.UseCorsConfigBuilder.forOrigin(String)
instead.UseCorsConfigBuilder.forOrigins(String...)
instead.UseEmptyHttpHeaders.INSTANCE
This is needed to break a cyclic static initialization loop between
HttpHeaders
andEmptyHttpHeaders
.UseHttpHeaders.add(CharSequence, Object)
instead. Adds a new date header with the specified name and value. The specified value is formatted as defined in RFC2616UseHttpHeaders.add(CharSequence, Object)
instead.UseHttpHeaders.add(CharSequence, Object)
instead. Adds a new header with the specified name and value. If the specified value is not aString
, it is converted into aString
byObject.toString()
, except forDate
andCalendar
which are formatted to the date format defined in RFC2616.UseHttpHeaders.add(CharSequence, Object)
instead.UseHttpHeaders.addInt(CharSequence, int)
instead. Adds a new integer header with the specified name and value.UseHttpHeaders.add(CharSequence, Iterable)
instead.UseHttpHeaders.clear()
instead. Removes all headers from the specified message.UseHttpUtil.getContentLength(HttpMessage)
instead. Returns the length of the content. Please note that this value is not retrieved fromByteBufHolder.content()
but from the"Content-Length"
header, and thus they are independent from each other.UseHttpUtil.getContentLength(HttpMessage, long)
instead. Returns the length of the content. Please note that this value is not retrieved fromByteBufHolder.content()
but from the"Content-Length"
header, and thus they are independent from each other.UseHttpHeaders.getTimeMillis(CharSequence)
instead. Returns the value of the"Date"
header.UseHttpHeaders.getTimeMillis(CharSequence, long)
instead. Returns the value of the"Date"
header. If there is no such header or the header is not a formatted date, thedefaultValue
is returned.UseHttpHeaders.getTimeMillis(CharSequence)
instead. Returns the date header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.getTimeMillis(CharSequence, long)
instead. Returns the date header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.getTimeMillis(CharSequence)
instead.UseHttpHeaders.getTimeMillis(CharSequence, long)
instead.UseHttpHeaders.get(CharSequence)
instead. Returns the header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.get(CharSequence, String)
instead. Returns the header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.get(CharSequence)
instead.UseHttpHeaders.get(CharSequence, String)
instead.UseHttpHeaders.get(CharSequence)
instead. Returns the value of the"Host"
header.UseHttpHeaders.get(CharSequence, String)
instead. Returns the value of the"Host"
header. If there is no such header, thedefaultValue
is returned.UseHttpHeaders.getInt(CharSequence)
instead. Returns the integer header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.getInt(CharSequence, int)
instead. Returns the integer header value with the specified header name. If there are more than one header value for the specified header name, the first value is returned.UseHttpHeaders.getInt(CharSequence)
instead.UseHttpHeaders.getInt(CharSequence, int)
instead.UseHttpUtil.is100ContinueExpected(HttpMessage)
instead. Returnstrue
if and only if the specified message contains the"Expect: 100-continue"
header.UseHttpUtil.isContentLengthSet(HttpMessage)
instead.UseHttpUtil.isKeepAlive(HttpMessage)
instead. Returnstrue
if and only if the connection can remain open and thus 'kept alive'. This methods respects the value of the"Connection"
header first and then the return value ofHttpVersion.isKeepAliveDefault()
.UseHttpUtil.isTransferEncodingChunked(HttpMessage)
instead. Checks to see if the transfer encoding in a specifiedHttpMessage
is chunkedIt is preferred to useHttpHeaders.iteratorCharSequence()
unless you needString
. IfString
is required then useHttpHeaders.iteratorAsString()
.UseAsciiString
instead.Create a new
CharSequence
which is optimized for reuse asHttpHeaders
name or value. So if you have a Header name or value that you want to reuse you should make use of this.UseHttpHeaders.remove(CharSequence)
instead. Removes the header with the specified name.UseHttpHeaders.remove(CharSequence)
instead.UseHttpUtil.set100ContinueExpected(HttpMessage, boolean)
instead. Sets the"Expect: 100-continue"
header to the specified message. If there is any existing"Expect"
header, they are replaced with the new one.UseHttpUtil.set100ContinueExpected(HttpMessage, boolean)
instead. Sets or removes the"Expect: 100-continue"
header to / from the specified message. Ifset
istrue
, the"Expect: 100-continue"
header is set and all other previous"Expect"
headers are removed. Otherwise, all"Expect"
headers are removed completely.UseHttpUtil.setContentLength(HttpMessage, long)
instead.UseHttpHeaders.set(CharSequence, Object)
instead. Sets the"Date"
header.UseHttpHeaders.set(CharSequence, Iterable)
instead. Sets a new date header with the specified name and values. If there is an existing header with the same name, the existing header is removed. The specified values are formatted as defined in RFC2616UseHttpHeaders.set(CharSequence, Object)
instead. Sets a new date header with the specified name and value. If there is an existing header with the same name, the existing header is removed. The specified value is formatted as defined in RFC2616UseHttpHeaders.set(CharSequence, Iterable)
instead.UseHttpHeaders.set(CharSequence, Object)
instead.UseHttpHeaders.set(CharSequence, Iterable)
instead. Sets a new header with the specified name and values. If there is an existing header with the same name, the existing header is removed. This getMethod can be represented approximately as the following code:removeHeader(message, name); for (Object v: values) { if (v == null) { break; } addHeader(message, name, v); }
UseHttpHeaders.set(CharSequence, Object)
instead. Sets a new header with the specified name and value. If there is an existing header with the same name, the existing header is removed. If the specified value is not aString
, it is converted into aString
byObject.toString()
, except forDate
andCalendar
which are formatted to the date format defined in RFC2616.UseHttpHeaders.set(CharSequence, Iterable)
instead.UseHttpHeaders.set(CharSequence, Object)
instead.UseHttpHeaders.set(CharSequence, Object)
instead. Sets the"Host"
header.UseHttpHeaders.set(CharSequence, Object)
instead.UseHttpHeaders.setInt(CharSequence, int)
instead. Sets a new integer header with the specified name and value. If there is an existing header with the same name, the existing header is removed.UseHttpHeaders.set(CharSequence, Iterable)
instead. Sets a new integer header with the specified name and values. If there is an existing header with the same name, the existing header is removed.UseHttpHeaders.setInt(CharSequence, int)
instead.UseHttpHeaders.set(CharSequence, Iterable)
instead.UseHttpUtil.setKeepAlive(HttpMessage, boolean)
instead. Sets the value of the"Connection"
header depending on the protocol version of the specified message. This getMethod sets or removes the"Connection"
header depending on what the default keep alive mode of the message's protocol version is, as specified byHttpVersion.isKeepAliveDefault()
.- If the connection is kept alive by default:
- set to
"close"
ifkeepAlive
isfalse
. - remove otherwise.
- set to
- If the connection is closed by default:
- set to
"keep-alive"
ifkeepAlive
istrue
. - remove otherwise.
- set to
UseHttpMessage.protocolVersion()
instead.UseDecoderResultProvider.decoderResult()
instead.UseHttpRequest.method()
instead.UseHttpRequest.uri()
instead.UseHttpResponse.status()
instead.UseHttpDataFactory.cleanAllHttpData()
instead.UseHttpDataFactory.cleanRequestHttpData(HttpRequest)
instead.UseWebSocketChunkedInput.readChunk(ByteBufAllocator)
. Fetches a chunked data from the stream. Once this method returns the last chunk and thus the stream has reached at its end, any subsequentWebSocketChunkedInput.isEndOfInput()
call must returntrue
.io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder.initialHuffmanDecodeCapacity(int) Huffman decoding no longer depends on having a decode capacity.should not be used directly. UseHttp2StreamChannelBootstrap.open()
orHttp2StreamChannelBootstrap.open(Promise)
This method will be removed in future releases.useMqttConnectPayload.passwordInBytes()
insteaduseMqttConnectPayload.willMessageInBytes()
insteaduseMqttMessageBuilders.PubAckBuilder.packetId(int)
insteaduseMqttMessageBuilders.SubAckBuilder.packetId(int)
insteadUseMqttPublishVariableHeader.packetId()
instead.use topicFilterUseBufferedReader.readLine()
instead.UseSocksAddressType.valueOf(byte)
instead.UseSocksAuthScheme.valueOf(byte)
instead.UseSocksAuthStatus.valueOf(byte)
instead.UseSocksCmdStatus.valueOf(byte)
instead.UseSocksCmdType.valueOf(byte)
instead.Do not use; this method was intended for an internal use only.UseSocksProtocolVersion.valueOf(byte)
instead.UseSocksSubnegotiationVersion.valueOf(byte)
instead.will be removed.will be removed.Will be removed because hostname validation is always done by aTrustManager
implementation.This method is kept for API backwards compatibility.this method is considered unsafe as the returned pointer may be released later. Dont use it!this method is considered unsafe as the returned pointer may be released later. Dont use it!useinvalid @link
{@link #sessionContext#stats()
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
Replaced bySslContextBuilder
UseSslContext.applicationProtocolNegotiator()
instead.UseChunkedInput.readChunk(ByteBufAllocator)
.Fetches a chunked data from the stream. Once this method returns the last chunk and thus the stream has reached at its end, any subsequent
ChunkedInput.isEndOfInput()
call must returntrue
.Prefer to configure aLoggingDnsQueryLifeCycleObserverFactory
instead.UseDefaultDnsServerAddressStreamProvider.defaultAddresses()
.Returns the
DnsServerAddresses
that yields the system DNS server addresses sequentially. If it failed to retrieve the list of the system DNS server addresses from the environment, it will use"8.8.8.8"
and"8.8.4.4"
, the addresses of the Google public DNS servers.This method has the same effect with the following code:
DnsServerAddresses.sequential(DnsServerAddresses.defaultAddressList());
UseDefaultDnsServerAddressStreamProvider.defaultAddressList()
.Returns the list of the system DNS server addresses. If it failed to retrieve the list of the system DNS server addresses from the environment, it will return
"8.8.8.8"
and"8.8.4.4"
, the addresses of the Google public DNS servers.please consider usingAttribute.getAndSet(Object)
(with value ofnull
).please consider usingAttribute.set(Object)
(with value ofnull
).Use the non-staticAbstractScheduledEventExecutor.getCurrentTimeNanos()
instead.will be removed in the future.Replaced byPromiseCombiner.add(Future)
.Replaced byPromiseCombiner.addAll(Future[])
Please use and overrideSingleThreadEventExecutor.newTaskQueue(int)
.useDomainNameMappingBuilder
to create and fill the mapping insteadthis may introduce a lot of memory usage so it is generally preferable to manually release objects.this may introduce a lot of memory usage so it is generally preferable to manually release objects.This method will no longer be invoked byResourceLeakDetector
.UseResourceLeakDetector.setLevel(Level)
instead.UseResourceLeakDetectorFactory.newResourceLeakDetector(Class, int)
instead.Returns a new instance of a
ResourceLeakDetector
with the given resource class. - If the connection is kept alive by default:
-
Deprecated ConstructorsConstructorDescriptionUse
JdkZlibDecoder(int)
.UseJZlibDecoder(int)
.Prefer instead to configuring aHttpHeadersFactory
by callingwithCombiningHeaders(true)
onDefaultHttpHeadersFactory.headersFactory()
.UseCorsConfigBuilder
instead.UseCorsConfigBuilder
instead.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Prefer using theDefaultHttpHeaders()
constructor instead, to always have validation enabled.Use theDefaultHttpMessage(HttpVersion, HttpHeadersFactory)
constructor instead, ideally using theDefaultHttpHeadersFactory.headersFactory()
, or a factory that otherwise has validation enabled.Prefer theDefaultHttpRequest(HttpVersion, HttpMethod, String)
constructor instead, to always have header validation enabled.Use theDefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory)
constructor instead.Use theDefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory)
constructor instead.Prefer theDefaultLastHttpContent(ByteBuf)
constructor instead, to always have header validation enabled.Prefer theHttpClientCodec(int, int, int, boolean)
constructor, to always enable header validation.Prefer theHttpClientCodec(HttpDecoderConfig, boolean, boolean)
constructor, to always enable header validation.Prefer theHttpClientCodec(HttpDecoderConfig, boolean, boolean)
constructor, to always enable header validation.Prefer theHttpClientCodec(HttpDecoderConfig, boolean, boolean)
constructor, to always enable header validation.Prefer theHttpClientCodec(HttpDecoderConfig, boolean, boolean)
constructor, to always enable header validation.Prefer theHttpClientCodec(HttpDecoderConfig, boolean, boolean)
constructor, to always enable header validation.UseHttpObjectDecoder(HttpDecoderConfig)
instead.UseHttpObjectDecoder(HttpDecoderConfig)
instead.UseHttpObjectDecoder(HttpDecoderConfig)
instead.UseHttpObjectDecoder(HttpDecoderConfig)
instead.UseHttpObjectDecoder(HttpDecoderConfig)
instead.Prefer theHttpRequestDecoder(HttpDecoderConfig)
constructor, to always have header validation enabled.Prefer theHttpRequestDecoder(HttpDecoderConfig)
constructor, to always have header validation enabled.Prefer theHttpRequestDecoder(HttpDecoderConfig)
constructor, to always have header validation enabled.Prefer theHttpRequestDecoder(HttpDecoderConfig)
constructor, to always have header validation enabled.Prefer theHttpResponseDecoder(HttpDecoderConfig)
constructor.Prefer theHttpResponseDecoder(HttpDecoderConfig)
constructor.Prefer theHttpResponseDecoder(HttpDecoderConfig)
constructor.Prefer theHttpResponseDecoder(HttpDecoderConfig)
constructor.Prefer theHttpServerCodec(HttpDecoderConfig)
constructor, to always enable header validation.Prefer theHttpServerCodec(HttpDecoderConfig)
constructor, to always enable header validation.Prefer theHttpServerCodec(HttpDecoderConfig)
constructor, to always enable header validation.Prefer theHttpServerCodec(HttpDecoderConfig)
constructor, to always enable header validation.Useinvalid @link
{@link PerMessageDeflateClientExtensionHandshaker#
Useinvalid @link
{@link PerMessageDeflateServerExtensionHandshaker#
io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder(Http2ConnectionEncoder, int, int, int) Use theRtspDecoder(HttpDecoderConfig)
constructor instead, or theRtspDecoder(int, int, int)
to always enable header validation.Use theSpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.Use theSpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead.UsePcapWriteHandler.Builder
instead.UsePcapWriteHandler.Builder
instead.useSslContextBuilder
}This deprecated constructor uses SHA-1 that is considered insecure. It is recommended to specify a stronger hash algorithm, such as SHA-256, by callingFingerprintTrustManagerFactory.builder(String)
method.This deprecated constructor uses SHA-1 that is considered insecure. It is recommended to specify a stronger hash algorithm, such as SHA-256, by callingFingerprintTrustManagerFactory.builder(String)
method.This deprecated constructor uses SHA-1 that is considered insecure. It is recommended to specify a stronger hash algorithm, such as SHA-256, by callingFingerprintTrustManagerFactory.builder(String)
method.useDomainNameMappingBuilder
to create and fill the mapping insteaduseDomainNameMappingBuilder
to create and fill the mapping insteadUseCommonsLoggerFactory.INSTANCE
instead.UseJdkLoggerFactory.INSTANCE
instead.UseLog4J2LoggerFactory.INSTANCE
instead.UseLog4JLoggerFactory.INSTANCE
instead.UseSlf4JLoggerFactory.INSTANCE
instead.UseResourceLeakDetector(Class, int)
.This should not be used directly by users of
ResourceLeakDetector
. Please useResourceLeakDetectorFactory.newResourceLeakDetector(Class)
orResourceLeakDetectorFactory.newResourceLeakDetector(Class, int, long)
-
Deprecated Enum ConstantsEnum ConstantDescriptionin favor of
WebSocketServerProtocolHandler.HandshakeComplete
class, it provides extra information about the handshake