route library
Library that exposes the API for the route
Classes
- Bind
- Annotation for a bindable property.
- Body
- Annotation indicating a method parameter should be bound to the body of the http request.
- Connect
- Route annotation. Routes Put requests to the specified path.
- Controller
- Annotation to identify a class as a controller. A controller is a class that can be used to handle requests.
- ControllerRoute
- The data required to handle the class annotated with Controller internally by the Dartness framework.
- DartnessController
- A wrapper class in order to retrieve the controller instance from the annotation Controller and the data required to handle it internally by the Dartness framework.
- DartnessParam
- The param data from the route method required to handle the class annotated with Controller internally by the Dartness framework.
- DartnessRouter
- A router that can be used to handle requests.
- DartnessRouterHandler
- A router handler for handling request for a ControllerRoute with his metadata and the method ControllerRoute.handler with the metadata.
- DefaultDartnessRouter
- A router that can be used to handle requests.
- Delete
- Route annotation for delete request.
- Get
- Route annotation. Routes Get requests to the specified path.
- Head
- Route annotation. Routes Head requests to the specified path.
- Header
- Annotation indication to specify a custom response header
- Headers
- Annotation indication to specify a custom response headers
- HttpCode
- An annotation to indicate what HTTP status code must be returned.
- Options
- Route annotation. Routes Options requests to the specified path.
- Patch
- Route annotation. Routes Patch requests to the specified path.
- PathParam
- Annotation to bind a property to a path parameter.
- Post
- Route annotation. Routes Post requests to the specified path.
- Put
- Route annotation. Routes Put requests to the specified path.
- QueryParam
- Annotation to bind a property to a query parameter.
- Trace
- Route annotation. Routes Put requests to the specified path.