The core libraries of the Aqueduct framework.
Exports the following libraries:
See documentation guides at https://aqueduct.io/docs/.
- A map of possible out-of band callbacks related to the parent operation. [...]
T extends APIObject>
- A collection of reusable OpenAPI objects. [...]
- The methods you implement to document OpenAPI components. [...]
- Holds a set of reusable objects for different aspects of the OAS. [...]
- A Configuration to represent an external HTTP API.
- Contact information for the exposed API.
- This is the root document object of the OpenAPI document.
- An object that contains information about APIDocument being generated. [...]
- A single encoding definition applied to a single schema property.
- APIHeader follows the structure of the APIParameter with the following changes: [...]
- The object provides metadata about the API. [...]
- License information for the exposed API.
- Each APIMediaType provides schema and examples for the media type identified by its key.
- Describes a single API operation on a path.
- The methods you implement to document the operations of a Controller. [...]
- Describes a single operation parameter. [...]
- Describes the operations available on a single path. [...]
- Describes a single request body.
- Describes a single response from an API Operation, including design-time, static links to operations based on the response.
- Represents a schema object in the OpenAPI specification.
- Lists the required security schemes to execute an operation. [...]
- Defines a security scheme that can be used by the operations. [...]
- Allows configuration of the supported OAuth Flows.
- An object representing a Server.
- An object representing a Server Variable for server URL template substitution.
- Adds metadata to a single tag that is used by the APIOperation. [...]
T extends ApplicationChannel>
- This object starts and stops instances of your ApplicationChannel. [...]
- An object that defines the behavior specific to your application. [...]
- An object that sends and receives messages between ApplicationChannels. [...]
- An object that contains configuration values for an Application. [...]
- Listens for HTTP requests and delivers them to its ApplicationChannel instance. [...]
- A structure to hold Basic authorization credentials. [...]
- Represents an OAuth 2.0 client ID and secret pair. [...]
- Represents an OAuth 2.0 authorization code. [...]
- Controller for issuing OAuth 2.0 authorization codes. [...]
- Provides AuthCodeController with application-specific behavior.
- Controller for issuing and refreshing OAuth 2.0 access tokens. [...]
- Authorization information for a Request after it has passed through an Authorizer. [...]
- Parses a Basic Authorization header.
- Parses a Bearer token from an Authorization header.
- A Controller that validates the Authorization header of a request. [...]
- Controller for issuing OAuth 2.0 authorization codes and tokens. [...]
- Provides AuthRedirectController with application-specific behavior.
- Instances represent OAuth 2.0 scope. [...]
- A OAuth 2.0 authorization server. [...]
- The methods used by an AuthServer to store information and customize behavior related to authorization. [...]
- Represents an OAuth 2.0 token. [...]
- Exposes static utility methods for password, salt and API credential generation. [...]
- Instances that implement this type can be used by an Authorizer to determine authorization of a request. [...]
- Binds elements of an HTTP request to a ResourceController's operation method arguments and properties. [...]
- Decodes bytes according to contentType. [...]
- Instances of this type provide configuration for the 'Cache-Control' header. [...]
Provides encoding and decoding services based on the
ContentTypeof a Request or Response. [...]
- A base class for encodable and decodable objects. [...]
- Metadata to describe the behavior of the underlying database column of a persistent property in ManagedObject subclasses. [...]
- Subclasses of Configuration read YAML strings and files, assigning values from the YAML document to properties of an instance of this type.
- Thrown when Configuration subclass is invalid and requires a change in code.
- Thrown when reading data into a Configuration fails.
- Configuration properties may be attributed with these. [...]
- Base class for request handling objects. [...]
- Describes a CORS policy for a Controller. [...]
- A Configuration to represent a database connection configuration.
- Allows storage of unstructured data in a ManagedObject property. [...]
- Serves files from a directory on the filesystem. [...]
- A container for a dynamic data object that can be decoded into Coding objects. [...]
- Levels to control logging output. Logging can be enabled to include all levels above certain Level. Levels are ordered using an integer value Level.value. The predefined Level constants below are sorted as follows (in descending order): Level.SHOUT, Level.SEVERE, Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, and Level.ALL. [...]
- An interface for linking controllers. [...]
- A list of values in a KeyedArchive. [...]
- Use a Logger to log debug messages. [...]
- A log entry representation used to propagate information from Logger to individual handlers.
- Stores the specifics of database columns in ManagedObjects as indicated by Column. [...]
- Instances of this class provide storage for ManagedObjects. [...]
- A service object that handles connecting to and sending queries to a database. [...]
- Instances of this class contain descriptions and metadata for mapping ManagedObjects to database rows. [...]
- Mapping information between a table in a database and a ManagedObject object. [...]
- An object that represents a database row. [...]
InstanceType extends ManagedObject>
- A Controller that implements basic CRUD operations for a ManagedObject. [...]
- Contains database column information and metadata for a property of a ManagedObject object. [...]
- Contains information for a relationship property of a ManagedObject.
InstanceType extends ManagedObject>
- Instances of this type contain zero or more instances of ManagedObject and represent has-many relationships. [...]
- Complex type storage for ManagedEntity attributes.
- Validates properties of ManagedObject before an insert or update Query. [...]
- The base class for migration instructions. [...]
- Binds an instance method in ResourceController to an operation. [...]
- An interface for implementing persistent storage. [...]
- Commonly used error codes from PostgreSQL. [...]
- The database layer responsible for carrying out Querys against PostgreSQL databases. [...]
InstanceType extends ManagedObject>
- An object for configuring and executing a database query. [...]
InstanceType extends ManagedObject>
- A partial class for implementing an ResourceController that has a few conveniences for executing Querys. [...]
- Contains methods for adding logical expressions to properties when building a Query. [...]
- Contains binary logic operations to be applied to a QueryExpression.
- A predicate contains instructions for filtering rows when performing a Query. [...]
T extends ManagedObject>
- Executes aggregate functions like average, count, sum, etc. [...]
- An interface that Controller subclasses implement to generate a new controller for each request. [...]
- Metadata to configure property of ManagedObject as a foreign key column. [...]
- A single HTTP request. [...]
- Objects that represent a request body, and can be decoded into Dart objects. [...]
- The unifying protocol for Request and Response classes. [...]
- Stores path info for a Request. [...]
- See requiredBinding.
- Controller for operating on an HTTP Resource. [...]
- The properties of an OAuth 2.0 Resource Owner. [...]
- Represents the information in an HTTP response. [...]
- Throw this object to roll back a ManagedContext.transaction. [...]
- Determines which Controller should receive a Request based on its path. [...]
- A portable representation of a database schema. [...]
- Generates SQL or Dart code that modifies a database schema.
- A portable representation of a database column. [...]
- The difference between two compared SchemaColumns. [...]
- The difference between two compared Schemas. [...]
- A portable representation of a database table. [...]
- The difference between two SchemaTables. [...]
- Difference between two SchemaTable.uniqueColumnSets.
- Allows ResourceControllers to have different scope for each operation method. [...]
- Interface for serializable instances to be decoded from an HTTP request body and encoded to an HTTP response body. [...]
- Annotation for ManagedObject properties that allows them to participate in ManagedObject.asMap and/or ManagedObject.readFromMap. [...]
- An object that manages the cleanup of service objects when an application is stopped. [...]
- Annotation to configure the table definition of a ManagedObject. [...]
- Add as metadata to persistent properties to validate their values before insertion or updating. [...]
- Information about a validation being performed.
- optionalConfiguration → const ConfigurationItemAttribute
- A ConfigurationItemAttribute for optional properties.
- primaryKey → const Column
Metadata to mark a property as a primary key. [...]
const Column(primaryKey: true, databaseType: ManagedPropertyType.bigInteger, autoincrement: true)
- requiredBinding → const RequiredBinding
Marks an ResourceController property binding as required. [...]
- requiredConfiguration → const ConfigurationItemAttribute
- A ConfigurationItemAttribute for required properties.
- There are four possible parameter locations specified by the in field. [...]
- The reason either AuthorizationBearerParser or AuthorizationBasicParser failed.
- The possible errors as defined by the OAuth 2.0 specification. [...]
- Possible options for a configuration item property's optionality.
- Possible values for a delete rule in a Relate.
- Possible data types for ManagedEntity attributes.
- The possible database relationships.
- Categorizations of query failures for QueryException.
- Order value for Query.pageBy and Query.sortBy.
- Types of operations ManagedValidators will be triggered for.
Exceptions / Errors
- Thrown when an application encounters an exception during startup. [...]
- An exception indicating why Authorization parsing failed.
- An exception thrown by AuthServer.
- Thrown when a ManagedDataModel encounters an error.
- Thrown when Migration encounters an error.
- An exception describing an issue with a query. [...]
- Thrown when a Schema encounters an error.
- An error thrown during validator compilation. [...]
- An exception thrown when an ORM property validator is violated. [...]