3.4. Aura.Router

3.4.1. Getting Started
3.4.1.1. Adding A Route
3.4.1.2. Matching A Request To A Route
3.4.1.3. Dispatching A Route
3.4.1.4. Handling Failure To Match
3.4.1.5. Working Example
3.4.2. Defining Routes
3.4.2.1. Placeholder Tokens and Default Values
3.4.2.2. Custom Placeholder Token Matching
3.4.2.3. Optional Placeholder Tokens
3.4.2.4. Wildcard Attributes
3.4.2.5. Host Matching
3.4.2.6. Accept Headers
3.4.2.7. Multiple HTTP Verbs
3.4.2.8. Secure Protocols
3.4.2.9. Non-Routable Routes
3.4.2.10. Authentication
3.4.2.11. Custom Extras
3.4.2.12. Route-Specific Matching Logic
3.4.2.13. Default Map Route Specifications
3.4.3. Attaching Route Groups
3.4.4. Generating Paths From Routes
3.4.4.1. Optional Attributes
3.4.4.2. Wildcard Attributes
3.4.5. Building Custom Maps and Routes
3.4.5.1. Extending the Map Class
3.4.5.2. Extending The Route Class
3.4.5.3. Automated Route Caching and Building
3.4.6. Custom Matching Rules
3.4.6.1. Writing A Custom Rule
3.4.6.2. Setting Rules
3.4.7. Other Topics
3.4.7.1. Catchall Routes
3.4.7.2. Logging
3.4.7.3. Base Path
3.4.7.4. Route Helpers