HttpContext gives an HttpAction access to its incoming HTTP request and outgoing response. It is passed into perform() by HttpController.
Use getRequest() to retrieve submitted parameters and getResponse() when response configuration is needed. Normal HTTP actions return a component for rendering.
This example navigates to a real action that reads a name parameter from HttpContext.
The second example sends a different name to the same kind of HTTP action, illustrating how request data influences the rendered response.
Use a request parameter to control the response. An HttpAction returns a Component rather than a PushAction.
Treat request parameters as untrusted. A context represents the current request, so avoid retaining it in long-lived components or static fields.
These examples introduce the most important behavior without attempting to document every method. For the complete reference, see https://doc.jdance.org.