Package com.helger.photon.api
Interface IAPIBeforeExecutionCallback
-
- All Superinterfaces:
com.helger.commons.callback.ICallback
public interface IAPIBeforeExecutionCallback extends com.helger.commons.callback.ICallbackCallback interface to be used with theIAPIInvokerto get notified before anInvokableAPIDescriptoris invoked.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeforeExecution(IAPIInvoker aInvoker, InvokableAPIDescriptor aInvokableDescriptor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)Callback method
-
-
-
Method Detail
-
onBeforeExecution
void onBeforeExecution(@Nonnull IAPIInvoker aInvoker, @Nonnull InvokableAPIDescriptor aInvokableDescriptor, @Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
Callback method- Parameters:
aInvoker- TheIAPIInvokerobject that invoked the API functionaInvokableDescriptor- The descriptor to be invoked.aRequestScope- The request scope of the current invocation
-
-