# Interface RouteDispatcher

public interface RouteDispatcher

Internal contract between the build-time-generated route table and the framework. Application code should not implement or call this directly -- declare deep-linkable forms with `com.codename1.annotations.Route` and use `Navigation#navigate(String)` for in-app routing.

A single implementation, generated by the Codename One Maven plugin from `@Route` annotations in the project, is installed on `Display` during startup. Implementations resolve a URL to a `Form` factory and return the resulting form -- they do not show the form; the caller (`Navigation`) is responsible for stack bookkeeping and the `Form#show` / `Form#showBack` call.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Form`
  `dispatch(String url)`
  Resolve a URL to a Form.

- ## Method Details

  - ### dispatch

    Form dispatch(String url)
    Resolve a URL to a Form. Returns the freshly built form when a route matched, or null otherwise.