Uses of Interface
org.apache.tapestry5.services.ComponentEventResultProcessor

Packages that use ComponentEventResultProcessor
org.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to change 
org.apache.tapestry5.internal.services.ajax [INTERNAL USE ONLY] AJAX support services; API subject to change 
org.apache.tapestry5.services Core services 
org.apache.tapestry5.test Support for testing Tapestry pages 
org.apache.tapestry5.upload.internal.services [INTERNAL USE ONLY] support services for the Tapestry-upload module; API subject to change 
 

Uses of ComponentEventResultProcessor in org.apache.tapestry5.internal.services
 

Classes in org.apache.tapestry5.internal.services that implement ComponentEventResultProcessor
 class AjaxComponentInstanceEventResultProcessor
          Performs a partial page render based on a root component.
 class AjaxLinkComponentEventResultProcessor
          Handles Link result types by building a JSON response with key "redirectURL".
 class AjaxPageClassComponentEventResultProcessor
          Processes a Class result by converting the Class to a logical page name, then processing that.
 class AjaxPageNameComponentEventResultProcessor
          A ComponentEventResultProcessor, used for Ajax requests, for a String value that is interpreted as a logical page name.
 class ClassResultProcessor
          Used when a component event handler returns a class value.
 class ComponentInstanceResultProcessor
           
 class HttpErrorComponentEventResultProcessor
          Handles HttpError by invoking Response.sendError(int, String).
 class JSONArrayEventResultProcessor
           
 class JSONObjectEventResultProcessor
          Implementation of ComponentEventResultProcessor for JSONObject, allowing a component event handler to return a JSONObject that will be sent directly to the client as the reply.
 class ObjectComponentEventResultProcessor
          A catch-all for type Object that reports the return value as an error.
 class PageNameComponentEventResultProcessor
          Used when a component event handler returns a string value.
 class RenderCommandComponentEventResultProcessor
          Processor for objects that implement RenderCommand (such as BlockImpl), used with an Ajax component event.
 class StreamPageContentResultProcessor
          Used to trigger the rendering of a particular page without causing a redirect to that page.
 class StreamResponseResultProcessor
           
 

Methods in org.apache.tapestry5.internal.services with parameters of type ComponentEventResultProcessor
 boolean PageActivator.activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)
          Activates the page.
 boolean PageActivatorImpl.activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)
           
 

Constructors in org.apache.tapestry5.internal.services with parameters of type ComponentEventResultProcessor
AjaxComponentEventRequestHandler(RequestPageCache cache, Request request, PageRenderQueue queue, ComponentEventResultProcessor resultProcessor, PageActivator pageActivator, PageContentTypeAnalyzer pageContentTypeAnalyzer, Environment environment, AjaxPartialResponseRenderer partialRenderer)
           
AjaxComponentInstanceEventResultProcessor(RequestPageCache cache, ComponentEventResultProcessor masterProcessor)
           
AjaxLinkComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor)
           
AjaxPageClassComponentEventResultProcessor(ComponentSource componentSource, ComponentEventResultProcessor masterProcessor)
           
AjaxPageNameComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor, LinkSource linkSource)
           
ComponentEventRequestHandlerImpl(ComponentEventResultProcessor resultProcessor, RequestPageCache cache, Response response, PageActivator pageActivator, ActionRenderResponseGenerator generator, Environment environment)
           
ComponentResultProcessorWrapper(ComponentEventResultProcessor processor)
           
PageRenderRequestHandlerImpl(RequestPageCache cache, ComponentEventResultProcessor resultProcessor, PageResponseRenderer pageResponseRenderer, PageActivator pageActivator)
           
 

Uses of ComponentEventResultProcessor in org.apache.tapestry5.internal.services.ajax
 

Classes in org.apache.tapestry5.internal.services.ajax that implement ComponentEventResultProcessor
 class MultiZoneUpdateEventResultProcessor
          Deprecated. Deprecated in 5.3
 

Uses of ComponentEventResultProcessor in org.apache.tapestry5.services
 

Methods in org.apache.tapestry5.services that return ComponentEventResultProcessor
 ComponentEventResultProcessor TapestryModule.buildAjaxComponentEventResultProcessor(Map<Class,ComponentEventResultProcessor> configuration, InvalidationEventHub hub)
          The component event result processor used for Ajax-oriented component requests.
 ComponentEventResultProcessor TapestryModule.buildComponentEventResultProcessor(Map<Class,ComponentEventResultProcessor> configuration, InvalidationEventHub hub)
          The component event result processor used for normal component requests.
 

Methods in org.apache.tapestry5.services with parameters of type ComponentEventResultProcessor
 void TapestryModule.contributeComponentEventResultProcessor(ComponentEventResultProcessor componentInstanceProcessor, MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
          Contributes handlers for the following types: Object Failure case, added to provide a more useful exception message Link Sends a redirect to the link (which is typically a page render link) String Sends a page render redirect Class Interpreted as the class name of a page, sends a page render render redirect (this is more refactoring safe than the page name) Component A page's root component (though a non-root component will work, but will generate a warning).
 

Method parameters in org.apache.tapestry5.services with type arguments of type ComponentEventResultProcessor
 ComponentEventResultProcessor TapestryModule.buildAjaxComponentEventResultProcessor(Map<Class,ComponentEventResultProcessor> configuration, InvalidationEventHub hub)
          The component event result processor used for Ajax-oriented component requests.
 ComponentEventResultProcessor TapestryModule.buildComponentEventResultProcessor(Map<Class,ComponentEventResultProcessor> configuration, InvalidationEventHub hub)
          The component event result processor used for normal component requests.
 void TapestryModule.contributeComponentEventResultProcessor(ComponentEventResultProcessor componentInstanceProcessor, MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
          Contributes handlers for the following types: Object Failure case, added to provide a more useful exception message Link Sends a redirect to the link (which is typically a page render link) String Sends a page render redirect Class Interpreted as the class name of a page, sends a page render render redirect (this is more refactoring safe than the page name) Component A page's root component (though a non-root component will work, but will generate a warning).
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.

 

Uses of ComponentEventResultProcessor in org.apache.tapestry5.test
 

Methods in org.apache.tapestry5.test that return ComponentEventResultProcessor
protected  ComponentEventResultProcessor TapestryTestCase.mockComponentEventResultProcessor()
           
 

Uses of ComponentEventResultProcessor in org.apache.tapestry5.upload.internal.services
 

Constructors in org.apache.tapestry5.upload.internal.services with parameters of type ComponentEventResultProcessor
UploadExceptionFilter(MultipartDecoder decoder, ComponentEventResultProcessor resultProcessor, ComponentSource componentSource)
           
 



Copyright © 2003-2012 The Apache Software Foundation.