# Uses of Annotation Type
org.apache.tapestry5.services.Ajax

Packages that use Ajax
Package
Description
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.modules

- ## Uses of Ajax in org.apache.tapestry5.internal.services

  Constructor parameters in org.apache.tapestry5.internal.services with annotations of type Ajax
  Modifier
  Constructor
  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)`

- ## Uses of Ajax in org.apache.tapestry5.modules

  Methods in org.apache.tapestry5.modules with annotations of type Ajax
  Modifier and Type
  Method
  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`.
  Method parameters in org.apache.tapestry5.modules with annotations of type Ajax
  Modifier and Type
  Method
  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