Package io.inversion


package io.inversion
  • Interface Summary
    Interface
    Description
    Listener that can be registered with an Api to receive lifecycle, per request and per error callback notifications.
    Receives Engine and Api lifecycle, per request and per error callback notifications.
    Implemented by different runtimes, for example a servlet vs a lambda, to enable different file upload mechanisms.
    Static constants for HTTP status codes.
  • Class Summary
    Class
    Description
    Action<A extends Action>
    Actions perform some work when matched to a Request and potentially contribute to the content of the Response.
    Contains the Collections, Endpoints and Actions that make up a REST API.
     
     
    Represents a REST Collection and maps JSON properties property names and logical cross Collection data relationships to underlying Db tables and column names.
    Db<T extends Db>
    An adapter to an underlying data source.
    A single Endpoint, bundling one or more Path match relative Actions, is selected to service a Request.
    Matches inbound Request Url paths to an Api Endpoint and executes associated Actions.
     
     
     
     
     
     
    Utility designed to make it easy to validate request properties or request body json values while you are retrieving them.
     
    Results<M extends Map<String,​Object>>
    Results are returned by a Db and transformed by Actions into Response content.
    Rule<R extends Rule>
    Matches against an HTTP method and URL path to determine if the object should be included when processing the associated Request.
     
     
  • Exception Summary
    Exception
    Description