Package com.helger.photon.api
Class APIInvoker
- java.lang.Object
-
- com.helger.photon.api.APIInvoker
-
- All Implemented Interfaces:
IAPIInvoker,Serializable
@Immutable public class APIInvoker extends Object implements IAPIInvoker
Default implementation ofIAPIInvoker.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIInvoker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvoke(InvokableAPIDescriptor aInvokableDescriptor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, com.helger.servlet.response.UnifiedResponse aUnifiedResponse)Invoke the specified APIStringtoString()
-
-
-
Method Detail
-
invoke
public void invoke(@Nonnull InvokableAPIDescriptor aInvokableDescriptor, @Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.servlet.response.UnifiedResponse aUnifiedResponse) throws Exception
Description copied from interface:IAPIInvokerInvoke the specified API- Specified by:
invokein interfaceIAPIInvoker- Parameters:
aInvokableDescriptor- The invokable descriptor. Nevernull.aRequestScope- The current request scope. Nevernull.aUnifiedResponse- The current response object, with caching already disabled. Nevernull.- Throws:
Exception- In case something goes wrong
-
-