Class LightLambdaExchange.Attachable<T extends MiddlewareHandler>

    • Method Detail

      • getKey

        public Class<T> getKey()
      • createAttachable

        public static <T extends MiddlewareHandlerLightLambdaExchange.Attachable<T> createAttachable​(Class<T> middleware)
        Creates a new attachable key.
        Type Parameters:
        T - - given class has to implement the MiddlewareHandler interface.
        Parameters:
        middleware - - class to create a key for.
        Returns:
        - returns new attachable instance.