Package com.helger.photon.api
-
Interface Summary Interface Description IAPIAfterExecutionCallback Callback interface to be used with theIAPIInvokerto get notified after anInvokableAPIDescriptorwas invoked.IAPIBeforeExecutionCallback Callback interface to be used with theIAPIInvokerto get notified before anInvokableAPIDescriptoris invoked.IAPIDescriptor The read-only part ofAPIDescriptor.IAPIExceptionCallback Callback interface to handle thrown but unmapped exception objects from the API servlet.IAPIExceptionMapper API exception mapper to convert exceptions into reasonable HTTP responses.IAPIExecutionFilter Generic API execution filter.IAPIExecutor Interface for API executors.IAPIInvoker Base interface for an API invoker.IAPILongRunningExecutionCallback Callback interface to be used with theIAPIInvokerto get notified on long running executions.IAPIPathAmbiguityResolver Shared interface to resolve API ambiguities.IAPIRegistry Base interface for an API registry. -
Class Summary Class Description AbstractAPIExceptionMapper Abstract implementation ofIAPIExceptionMapperwith some helper methods.APIDescriptor Default implementation ofIAPIDescriptor.APIDescriptorList This class manages a list ofAPIDescriptorobjects.APIInvoker Default implementation ofIAPIInvoker.APIPath This class contains a combination of path and HTTP method.APIRegistry Default implementation ifIAPIRegistry.APISettings A central helper class that centrally configures all API callbacks.GlobalAPIInvoker Central API manager.InvokableAPIDescriptor AnInvokableAPIDescriptorcontains anIAPIDescriptoras well the original path by which it was called as well as any resolved path variables.LoggingAPIPathAmbiguityResolver Logging instance ofIAPIPathAmbiguityResolver.