Java io.netty.channel ChannelPipeline fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel ChannelPipeline fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel ChannelPipeline.

The text is from its open source code.

Implementation

io.netty.channel.ChannelPipeline has the following implementations.
Click this link to see all its implementation.

Method

ChannelPipelineaddAfter(String baseName, String name, ChannelHandler handler)
Inserts a ChannelHandler after an existing handler of this pipeline.
ChannelPipelineaddBefore(String baseName, String name, ChannelHandler handler)
Inserts a ChannelHandler before an existing handler of this pipeline.
ChannelPipelineaddFirst(String name, ChannelHandler handler)
Inserts a ChannelHandler at the first position of this pipeline.
ChannelPipelineaddFirst(EventExecutorGroup group, ChannelHandler... handlers)
Inserts ChannelHandler s at the first position of this pipeline.
ChannelPipelineaddFirst(ChannelHandler... handlers)
Inserts ChannelHandler s at the first position of this pipeline.
ChannelPipelineaddFirst(EventExecutorGroup group, String name, ChannelHandler handler)
Inserts a ChannelHandler at the first position of this pipeline.
ChannelPipelineaddLast(String name, ChannelHandler handler)
Appends a ChannelHandler at the last position of this pipeline.
ChannelPipelineaddLast(EventExecutorGroup group, ChannelHandler... handlers)
Inserts ChannelHandler s at the last position of this pipeline.
ChannelPipelineaddLast(ChannelHandler... handlers)
Inserts ChannelHandler s at the last position of this pipeline.
ChannelPipelineaddLast(EventExecutorGroup group, String name, ChannelHandler handler)
Appends a ChannelHandler at the last position of this pipeline.
Channelchannel()
Returns the Channel that this pipeline is attached to.
ChannelHandlerContextcontext(ChannelHandler handler)
Returns the context object of the specified ChannelHandler in this pipeline.
ChannelHandlerContextcontext(String name)
Returns the context object of the ChannelHandler with the specified name in this pipeline.
ChannelHandlerContextcontext(Class handlerType)
Returns the context object of the ChannelHandler of the specified type in this pipeline.
ChannelPipelinefireChannelActive()
ChannelPipelinefireChannelRead(Object msg)
ChannelPipelinefireChannelUnregistered()
ChannelPipelinefireUserEventTriggered(Object event)
ChannelHandlerfirst()
Returns the first ChannelHandler in this pipeline.
ChannelHandlerContextfirstContext()
Returns the context of the first ChannelHandler in this pipeline.
ChannelHandlerget(String name)
Returns the ChannelHandler with the specified name in this pipeline.
Tget(Class handlerType)
Returns the ChannelHandler of the specified type in this pipeline.
ChannelHandlerlast()
Returns the last ChannelHandler in this pipeline.
ChannelHandlerContextlastContext()
Returns the context of the last ChannelHandler in this pipeline.
Listnames()
Returns the List of the handler names.
ChannelPipelineremove(ChannelHandler handler)
Removes the specified ChannelHandler from this pipeline.
ChannelHandlerremove(String name)
Removes the ChannelHandler with the specified name from this pipeline.
Tremove(Class handlerType)
Removes the ChannelHandler of the specified type from this pipeline.
ChannelHandlerremoveFirst()
Removes the first ChannelHandler in this pipeline.
ChannelHandlerremoveLast()
Removes the last ChannelHandler in this pipeline.
ChannelPipelinereplace(ChannelHandler oldHandler, String newName, ChannelHandler newHandler)
Replaces the specified ChannelHandler with a new handler in this pipeline.
ChannelHandlerreplace(String oldName, String newName, ChannelHandler newHandler)
Replaces the ChannelHandler of the specified name with a new handler in this pipeline.
Treplace(Class oldHandlerType, String newName, ChannelHandler newHandler)
Replaces the ChannelHandler of the specified type with a new handler in this pipeline.
MaptoMap()
Converts this pipeline into an ordered Map whose keys are handler names and whose values are handlers.
ChannelFuturewriteAndFlush(Object msg)
Shortcut for call #write(Object) and #flush() .