Class HandlerMask


  • public final class HandlerMask
    extends Object
    Class to compute the mask of a given Handler. Inspired by the corresponding netty implementation.
    • 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