Class ComponentRequestHandlerTerminator
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator
 
 
- 
- All Implemented Interfaces:
 ComponentRequestHandler
public class ComponentRequestHandlerTerminator extends Object implements ComponentRequestHandler
Terminator for theComponentRequestHandlerpipeline, that feeds out into theComponentEventRequestHandlerandPageRenderRequestHandlerpipelines.- Since:
 - 5.1.0.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ComponentRequestHandlerTerminator(ComponentEventRequestHandler componentEventRequestHandler, PageRenderRequestHandler pageRenderRequestHandler) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleComponentEvent(ComponentEventRequestParameters parameters)Handler for a component action request which will trigger an event on a component and use the return value to send a response to the client (typically, a redirect to a page render URL).voidhandlePageRender(PageRenderRequestParameters parameters)Invoked to activate and render a page. 
 - 
 
- 
- 
Constructor Detail
- 
ComponentRequestHandlerTerminator
public ComponentRequestHandlerTerminator(@Traditional ComponentEventRequestHandler componentEventRequestHandler, PageRenderRequestHandler pageRenderRequestHandler)
 
 - 
 
- 
Method Detail
- 
handleComponentEvent
public void handleComponentEvent(ComponentEventRequestParameters parameters) throws IOException
Description copied from interface:ComponentRequestHandlerHandler for a component action request which will trigger an event on a component and use the return value to send a response to the client (typically, a redirect to a page render URL).- Specified by:
 handleComponentEventin interfaceComponentRequestHandler- Parameters:
 parameters- defining the request- Throws:
 IOException
 
- 
handlePageRender
public void handlePageRender(PageRenderRequestParameters parameters) throws IOException
Description copied from interface:ComponentRequestHandlerInvoked to activate and render a page. In certain cases, based on values returned when activating the page, aComponentEventResultProcessormay be used to send an alternate response (typically, a redirect).- Specified by:
 handlePageRenderin interfaceComponentRequestHandler- Parameters:
 parameters- defines the page name and activation context- Throws:
 IOException
 
 - 
 
 -