Uses of Interface
org.apache.tapestry5.services.ComponentEventResultProcessor
Packages that use ComponentEventResultProcessor
Package
Description
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] AJAX support services; API subject to change
Support for testing Tapestry pages
[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 ComponentEventResultProcessorModifier and TypeClassDescriptionclassPerforms a partial page render based on a root component.classHandlesLinkresult types by building a JSON response with key "redirectURL".classProcesses a Class result by converting the Class to a logical page name, then processing that.classAComponentEventResultProcessor, used for Ajax requests, for a String value that is interpreted as a logical page name.classHandlesURLresult types by building a JSON response with key "redirectURL".classUsed when a component event handler returns a class value.classclassHandlesHttpErrorby invokingResponse.sendError(int, String).classHandlesHttpStatus.values returned by event handler methods.classclassImplementation ofComponentEventResultProcessorforJSONObject, allowing a component event handler to return a JSONObject that will be sent directly to the client as the reply.classA catch-all for type Object that reports the return value as an error.classUsed when a component event handler returns a string value.classProcessor for objects that implementRenderCommand(such asBlockImpl), used with an Ajax component event.classUsed to trigger the rendering of a particular page without causing a redirect to that page.classMethods in org.apache.tapestry5.internal.services with parameters of type ComponentEventResultProcessorModifier and TypeMethodDescriptionbooleanPageActivator.activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor) Activates the page.booleanPageActivatorImpl.activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor) Constructors in org.apache.tapestry5.internal.services with parameters of type ComponentEventResultProcessorModifierConstructorDescriptionAjaxComponentEventRequestHandler(RequestPageCache cache, Request request, PageRenderQueue queue, ComponentEventResultProcessor resultProcessor, PageActivator pageActivator, Environment environment, AjaxPartialResponseRenderer partialRenderer) AjaxComponentInstanceEventResultProcessor(RequestPageCache cache, ComponentEventResultProcessor masterProcessor) AjaxLinkComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) AjaxPageClassComponentEventResultProcessor(ComponentSource componentSource, ComponentEventResultProcessor masterProcessor) AjaxPageNameComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor, LinkSource linkSource) AjaxURLComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) ClassResultProcessor(ComponentClassResolver resolver, ComponentEventResultProcessor primary) ComponentEventRequestHandlerImpl(ComponentEventResultProcessor resultProcessor, RequestPageCache cache, Response response, PageActivator pageActivator, Environment environment) ComponentInstanceResultProcessor(org.slf4j.Logger logger, ComponentEventResultProcessor resultProcessor) PageNameComponentEventResultProcessor(LinkSource linkSource, ComponentEventResultProcessor primary) PageRenderRequestHandlerImpl(RequestPageCache cache, ComponentEventResultProcessor resultProcessor, PageResponseRenderer pageResponseRenderer, PageActivator pageActivator, Request request) UnknownActivationContextHandlerImpl(org.slf4j.Logger logger, ComponentEventResultProcessor resultProcessor) -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.internal.services.ajax
Classes in org.apache.tapestry5.internal.services.ajax that implement ComponentEventResultProcessorModifier and TypeClassDescriptionclassDeprecated.Deprecated in 5.3 -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules that return ComponentEventResultProcessorModifier and TypeMethodDescriptionTapestryModule.buildAjaxComponentEventResultProcessor(Map<Class, ComponentEventResultProcessor> configuration, InvalidationEventHub hub) The component event result processor used for Ajax-oriented component requests.TapestryModule.buildComponentEventResultProcessor(Map<Class, ComponentEventResultProcessor> configuration, InvalidationEventHub hub) The component event result processor used for normal component requests.Methods in org.apache.tapestry5.modules with parameters of type ComponentEventResultProcessorModifier and TypeMethodDescriptionvoidTapestryModule.contributeComponentEventResultProcessor(ComponentEventResultProcessor componentInstanceProcessor, MappedConfiguration<Class, ComponentEventResultProcessor> configuration) Contributes handlers for the following types: Object Failure case, added to provide a more useful exception messageLinkSends 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)ComponentA page's root component (though a non-root component will work, but will generate a warning).Method parameters in org.apache.tapestry5.modules with type arguments of type ComponentEventResultProcessorModifier and TypeMethodDescriptionTapestryModule.buildAjaxComponentEventResultProcessor(Map<Class, ComponentEventResultProcessor> configuration, InvalidationEventHub hub) The component event result processor used for Ajax-oriented component requests.TapestryModule.buildComponentEventResultProcessor(Map<Class, ComponentEventResultProcessor> configuration, InvalidationEventHub hub) The component event result processor used for normal component requests.voidTapestryModule.contributeComponentEventResultProcessor(ComponentEventResultProcessor componentInstanceProcessor, MappedConfiguration<Class, ComponentEventResultProcessor> configuration) Contributes handlers for the following types: Object Failure case, added to provide a more useful exception messageLinkSends 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)ComponentA page's root component (though a non-root component will work, but will generate a warning).static voidTapestryModule.provideBaseAjaxComponentEventResultProcessors(MappedConfiguration<Class, ComponentEventResultProcessor> configuration) Contributes handlers for the following types: Object Failure case, added to provide more useful exception messageRenderCommandTypically, aBlockComponentRenders the component and its body (unless its a page, in which case a redirect JSON response is sent)JSONObjectorJSONArrayThe JSONObject is returned as a text/javascript responseStreamResponseThe 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 pageLinkSends a JSON response to redirect to the linkClassTreats the class as a page class and sends a redirect for a page render for that pageMultiZoneUpdateSends 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 asRenderCommand. -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.rest.jackson.internal
Classes in org.apache.tapestry5.rest.jackson.internal that implement ComponentEventResultProcessorModifier and TypeClassDescriptionclassHandles mapped entity class instances using Jackson Databind when they're returned by event handler methods. -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.rest.jackson.modules
Method parameters in org.apache.tapestry5.rest.jackson.modules with type arguments of type ComponentEventResultProcessorModifier and TypeMethodDescriptionstatic voidRestJacksonModule.contributeComponentEventResultProcessor(MappedConfiguration<Class, ComponentEventResultProcessor> configuration, MappedEntityManager mappedEntityManager, Response response, ObjectMapperSource objectMapperSource, String outputEncoding) Adds a (entity class, JacksonComponentEventResultProcessor) for each entity class returned byMappedEntityManager.getEntities(). -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return ComponentEventResultProcessorModifier and TypeMethodDescriptionprotected final ComponentEventResultProcessorTapestryTestCase.mockComponentEventResultProcessor() -
Uses of ComponentEventResultProcessor in org.apache.tapestry5.upload.internal.services
Constructors in org.apache.tapestry5.upload.internal.services with parameters of type ComponentEventResultProcessorModifierConstructorDescriptionUploadExceptionFilter(MultipartDecoder decoder, ComponentEventResultProcessor resultProcessor, ComponentSource componentSource)