Package | Description |
---|---|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.modules |
Constructor and Description |
---|
AjaxComponentEventRequestHandler(RequestPageCache cache,
Request request,
PageRenderQueue queue,
ComponentEventResultProcessor resultProcessor,
PageActivator pageActivator,
Environment environment,
AjaxPartialResponseRenderer partialRenderer) |
AjaxComponentInstanceEventResultProcessor(RequestPageCache cache,
ComponentEventResultProcessor masterProcessor) |
AjaxFilter(Request request,
ComponentEventRequestHandler ajaxHandler) |
AjaxLinkComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) |
AjaxPageClassComponentEventResultProcessor(ComponentSource componentSource,
ComponentEventResultProcessor masterProcessor) |
AjaxPageNameComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor,
LinkSource linkSource) |
AjaxURLComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryModule.provideBaseAjaxComponentEventResultProcessors(MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
Contributes handlers for the following types:
Object
Failure case, added to provide more useful exception message
RenderCommand
Typically, a Block
Component
Renders the component and its body (unless its a page, in which case a redirect JSON response is sent)
JSONObject or JSONArray
The JSONObject is returned as a text/javascript response
StreamResponse
The stream response is sent as the actual response
String
Interprets the value as a logical page name and sends a client response to redirect to that page
Link
Sends a JSON response to redirect to the link
Class
Treats the class as a page class and sends a redirect for a page render for that page
MultiZoneUpdate
Sends a single JSON response to update the content of multiple zones
In most cases, when you want to support a new type, you should convert it to one of the built-in supported types
(such as RenderCommand . |
Modifier and Type | Method and Description |
---|---|
void |
TapestryModule.contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration,
RequestSecurityManager requestSecurityManager,
ComponentEventRequestHandler ajaxHandler)
Contributes filters:
Ajax
Determines if the request is Ajax oriented, and redirects to an alternative handler if so
Secure
Sends a redirect if an non-secure request accesses a secure page
|
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.