@Component
@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NettyFilter
NettyController
instances will start message processing or after it will be finished. So basically, handlers will
work in a way similar to servlet filters. This may include encoders/decoders and another
stuff that can be used to preprocess the message before handling it or post-process it afterwards.
Class should implement io.netty.channel.ChannelHandler
interface. This is enforced during appropriate bean construction| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
serverName
Get logical name of the server annotated event handler should be attached to
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
priority
Get the priority of the given handler.
|