public final class ChannelUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
removeIfExists(io.netty.channel.ChannelPipeline pipeline,
Class<? extends io.netty.channel.ChannelHandler>... handlers)
Removes handlers of the given class types from the pipeline.
|
@SafeVarargs public static void removeIfExists(io.netty.channel.ChannelPipeline pipeline, Class<? extends io.netty.channel.ChannelHandler>... handlers)
pipeline - the pipeline to remove handlers fromhandlers - handlers to remove, identified by classCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.