Top Deprecated
Netty5/Common 5.0.0.Alpha5

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
io.netty5.util.Attribute.getAndRemove()

please consider using getAndSet(Object) (with value of null).

io.netty5.util.Attribute.remove()

please consider using set(Object) (with value of null).

io.netty5.util.DomainMappingBuilder<
concrete type of value objects
V
>

Use DomainWildcardMappingBuilder instead.

io.netty5.util.DomainMappingBuilder.add(String
the host name (optionally wildcard)
hostname
,
V
the output value that will be returned by DomainNameMapping#map(String) when the specified host name matches the specified input host name
output
)

Deprecated as a consequence of DomainMappingBuilder being deprecated. See corresponding docs for further information.

Returns:

new DomainNameMapping instance
io.netty5.util.DomainMappingBuilder.build
()

Deprecated as a consequence of DomainNameMapping being deprecated. See corresponding docs for further information.

io.netty5.util.DomainMappingBuilder.builder

Deprecated as a consequence of DomainNameMappingBuilder being deprecated. See corresponding docs for further information.

io.netty5.util.DomainNameMapping.DomainNameMapping(V
the default value for map(String) to return when nothing matches the input
defaultValue
)

use DomainNameMappingBuilder to create and fill the mapping instead

io.netty5.util.DomainNameMapping.DomainNameMapping(int
initial capacity for the internal map
initialCapacity
,
V
the default value for map(String) to return when nothing matches the input
defaultValue
)

use DomainNameMappingBuilder to create and fill the mapping instead

io.netty5.util.DomainNameMapping.add(String
the host name (optionally wildcard)
hostname
,
V
the output value that will be returned by map(String) when the specified host name matches the specified input host name
output
)

use DomainNameMappingBuilder to create and fill the mapping instead

io.netty5.util.DomainNameMappingBuilder.ImmutableDomainNameMapping<
concrete type of value objects
V
>

Deprecated as a consequence of DomainNameMapping being deprecated. See corresponding docs for further information.

io.netty5.util.DomainNameMappingBuilder.ImmutableDomainNameMapping.add(String
the host name (optionally wildcard)
hostname
,
V
the output value that will be returned by map(String) when the specified host name matches the specified input host name
output
)

io.netty5.util.DomainNameMappingBuilder.add(String
the host name (optionally wildcard)
hostname
,
V
the output value that will be returned by DomainNameMapping#map(String) when the specified host name matches the specified input host name
output
)

Deprecated as a consequence of DomainNameMappingBuilder being deprecated. See corresponding docs for further information.

Returns:

new DomainNameMapping instance
io.netty5.util.DomainNameMappingBuilder.build
()

Deprecated as a consequence of DomainNameMapping being deprecated. See corresponding docs for further information.

io.netty5.util.Recycler.Recycler(int maxCapacityPerThread, int maxSharedCapacityFactor)

Use one of the following instead: Recycler(), Recycler(int), Recycler(int, int, int).

io.netty5.util.Recycler.Recycler(int maxCapacityPerThread, int maxSharedCapacityFactor, int ratio, int maxDelayedQueuesPerThread)

Use one of the following instead: Recycler(), Recycler(int), Recycler(int, int, int).

io.netty5.util.Recycler.Recycler(int maxCapacityPerThread, int maxSharedCapacityFactor, int ratio, int maxDelayedQueuesPerThread, int delayedQueueRatio)

Use one of the following instead: Recycler(), Recycler(int), Recycler(int, int, int).

io.netty5.util.ResourceLeakDetector.reportInstancesLeak(String resourceType)

This method will no longer be invoked by ResourceLeakDetector.

io.netty5.util.internal.EmptyArrays.EMPTY_JAVAX_X509_CERTIFICATES

Deprecated as a consequence of X509Certificate being deprecated. See corresponding docs for further information.