Class HandlerMask


  • public final class HandlerMask
    extends Object
    Class to compute the mask of a given Handler. Inspired by the corresponding netty implementation: https://github.com/netty/netty/blob/master/transport/src/main/java/io/netty/channel/ChannelHandlerMask.java
    • Method Detail

      • mask

        public static int mask​(Class<? extends Handler> handlerClass)
        Returns the mask for a given handlerClass.
        Parameters:
        handlerClass - the handler for which the mask should be returned
        Returns:
        the handler mask