Interface IAPIBeforeExecutionCallback

  • All Superinterfaces:
    com.helger.commons.callback.ICallback

    public interface IAPIBeforeExecutionCallback
    extends com.helger.commons.callback.ICallback
    Callback interface to be used with the IAPIInvoker to get notified before an InvokableAPIDescriptor is invoked.
    Author:
    Philip Helger
    • Method Detail

      • onBeforeExecution

        void onBeforeExecution​(@Nonnull
                               IAPIInvoker aInvoker,
                               @Nonnull
                               InvokableAPIDescriptor aInvokableDescriptor,
                               @Nonnull
                               com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
        Callback method
        Parameters:
        aInvoker - The IAPIInvoker object that invoked the API function
        aInvokableDescriptor - The descriptor to be invoked.
        aRequestScope - The request scope of the current invocation