GeezerVison is showing netty.io — Deprecated List (Netty API Reference (4.1.141.Final))
Deprecated API
Contents
-
Deprecated Packages
Package
Description
use NIO / EPOLL / KQUEUE transport.
this transport will be removed in the next major version.
use NIO based SCTP implementation.
use NIO / EPOLL / KQUEUE transport.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained.
This package has been deprecated with no replacement,
because serialization can be a security liability
-
Deprecated Interfaces
Interface
Description
this transport will be removed in the next major version.
use NIO / EPOLL / KQUEUE transport.
use NIO / EPOLL / KQUEUE transport.
use NIO / EPOLL / KQUEUE transport.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
This class has been deprecated with no replacement,
because serialization can be a security liability
-
Deprecated Classes
Class
Description
use the Little Endian accessors, e.g. getShortLE, getIntLE
instead.
Use PromiseCombiner
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.
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 transport will be removed in the next major version.
this transport will be removed in the next major version.
this transport will be removed in the next major version.
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.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
The UDT transport is no longer maintained and will be removed.
Removed without alternatives.
This class has been deprecated with no replacement,
because serialization can be a security liability
This class has been deprecated with no replacement,
because serialization can be a security liability
This class has been deprecated with no replacement,
because serialization can be a security liability
This class has been deprecated with no replacement,
because serialization can be a security liability
This class has been deprecated with no replacement,
because serialization can be a security liability
This class has been deprecated with no replacement,
because serialization can be a security liability
For removal in Netty 4.2. Please use
invalid reference
ConcurrentHashMap#newKeySet()
instead
The object cleaner is deprecated for removal.
will be removed in the next major release
-
Deprecated Enums
Enum
Description
this should never be used by an user!
-
Deprecated Exception Classes
Exception Class
Description
This class will be removed in the future version.
-
Deprecated Fields
Field
Description
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 Methods
Method
Description
use the Little Endian accessors, e.g. getShortLE, getIntLE
instead of creating a buffer with swapped endianness.
use the Little Endian accessors, e.g. getShortLE, getIntLE
instead of creating a buffer with swapped endianness.
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 calling Thread.
will be removed
Returns true if the calling Thread has a ThreadLocal cache for the allocated
buffers.
Tiny caches have been merged into small caches.
Use {AbstractCoalescingBufferQueue#composeFirst(ByteBufAllocator, ByteBuf, int)}
if you want to handle this event you should implement ChannelInboundHandler and
implement the method there.
Will be removed in the future.
will be removed in the future.
Will be removed in the future.
Will be removed in the future.
this method is no longer supported. This functionality is internal to this package.
will be removed and is ignored.
will be removed and is ignored.
No longer supported.
No longer supported.
No longer supported.
No longer supported.
CookieUtil is package private, will be removed once old Cookie API is dropped
Use HttpHeaders.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.
Use HttpHeaders.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.
Use HttpHeaders.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.
Use HttpHeaders.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.
Use HttpHeaders.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.
Use AsciiString instead.
Create a new CharSequence which is optimized for reuse as HttpHeaders name or value.
So if you have a Header name or value that you want to reuse you should make use of this.
Use HttpUtil.set100ContinueExpected(HttpMessage, boolean) instead.
Sets or removes the "Expect: 100-continue" header to / from the
specified message. If set is true,
the "Expect: 100-continue" header is set and all other previous
"Expect" headers are removed. Otherwise, all "Expect"
headers are removed completely.
Use HttpHeaders.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
RFC2616
Use HttpHeaders.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
RFC2616
Use HttpHeaders.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);
}
Use HttpHeaders.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.
Use HttpHeaders.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.
Use HttpUtil.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 by
HttpVersion.isKeepAliveDefault().
- If the connection is kept alive by default:
- set to
"close" if keepAlive is false.
- remove otherwise.
- If the connection is closed by default:
- set to
"keep-alive" if keepAlive is true.
- remove otherwise.
Huffman decoding no longer depends on having a decode capacity.
This method will be removed in future releases.
Do not use; this method was intended for an internal use only.
Will be removed because hostname validation is always done by a
TrustManager 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!
use
invalid @link
{@link #sessionContext#stats()
}
io.netty.handler.ssl.SslContext.newClientContext(SslProvider, File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
io.netty.handler.ssl.SslContext.newServerContext(SslProvider, File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
Use DefaultDnsServerAddressStreamProvider.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());
Use DefaultDnsServerAddressStreamProvider.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.
will be removed in the future.
this 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.
-
Deprecated Constructors
Constructor
Description
Use the constructor without the safeInstance parameter.
Use the constructor without the safeInstance parameter.
Use the constructor without the safeInstance parameter.
Use
invalid @link
{@link PerMessageDeflateClientExtensionHandshaker#
PerMessageDeflateClientExtensionHandshaker(int)}.
Use
invalid @link
{@link PerMessageDeflateServerExtensionHandshaker#
PerMessageDeflateServerExtensionHandshaker(int)}.
io.netty.handler.ssl.JdkSslClientContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
io.netty.handler.ssl.JdkSslClientContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, JdkApplicationProtocolNegotiator, long, long)
io.netty.handler.ssl.JdkSslServerContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
io.netty.handler.ssl.JdkSslServerContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, JdkApplicationProtocolNegotiator, long, long)
io.netty.handler.ssl.OpenSslClientContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
io.netty.handler.ssl.OpenSslServerContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, ApplicationProtocolConfig, long, long)
io.netty.handler.ssl.OpenSslServerContext(File, TrustManagerFactory, File, File, String, KeyManagerFactory, Iterable<String>, CipherSuiteFilter, OpenSslApplicationProtocolNegotiator, long, long)
io.netty.resolver.dns.DnsNameResolver(EventLoop, ChannelFactory<? extends DatagramChannel>, DnsCache, AuthoritativeDnsServerCache, DnsQueryLifecycleObserverFactory, long, ResolvedAddressTypes, boolean, int, boolean, int, boolean, HostsFileEntriesResolver, DnsServerAddressStreamProvider, String[], int, boolean)
io.netty.resolver.dns.DnsNameResolver(EventLoop, ChannelFactory<? extends DatagramChannel>, DnsCache, DnsCache, DnsQueryLifecycleObserverFactory, long, ResolvedAddressTypes, boolean, int, boolean, int, boolean, HostsFileEntriesResolver, DnsServerAddressStreamProvider, String[], int, boolean)
-
Deprecated Enum Constants
Enum Constant
Description
|