HttpController is the servlet-side entry point for ordinary HTTP requests. It resolves the requested HttpAction, calls perform(), and renders the returned Component.
A concrete controller generally extends HttpController, declares a servlet URL mapping, and exposes the action mapper used by its actions.
This example navigates through the configured HTTP controller to an HttpAction which returns a Component.
A parameterized request illustrates the same controller routing to an action with different request data.
Use a request parameter to control the response. An HttpAction returns a Component rather than a PushAction.
Keep URL mapping and request-wide behavior in the controller. Keep page-specific behavior in actions. Controller hooks can be used for authentication or initialization.
These examples introduce the most important behavior without attempting to document every method. For the complete reference, see https://doc.jdance.org.