# Package com.codename1.router

package com.codename1.router

Pop-navigation and deep-link routing support.

The application-facing surface is intentionally small: declare deep-linkable forms with `com.codename1.annotations.Route`, intercept back navigation with `com.codename1.ui.Form#setPopGuard(PopGuard)`, and let the framework wire the URL plumbing through generated code under `com.codename1.router.generated`.

- Class
  Description
  Navigation
  In-app navigation API on top of the declarative `@Route` table.
  NavigationEntry
  A single frame on the `Navigation` stack: the URL that produced the form and the `Form` instance the route built.
  PopGuard
  Intercept back/pop attempts on a `Form`.
  PopReason
  Why a back/pop attempt is happening.
  RouteDispatcher
  Internal contract between the build-time-generated route table and the framework.