Class ResponseRendererImpl
java.lang.Object
org.apache.tapestry5.internal.services.ResponseRendererImpl
- All Implemented Interfaces:
ResponseRenderer
-
Constructor Summary
ConstructorsConstructorDescriptionResponseRendererImpl(RequestPageCache pageCache, PageContentTypeAnalyzer pageContentAnalyzer, PageResponseRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionfindContentType(Object component) Finds the content type for the page containing the indicated component.voidrenderPageMarkupResponse(String pageName) Renders a markup response by rendering the named page.
-
Constructor Details
-
ResponseRendererImpl
public ResponseRendererImpl(RequestPageCache pageCache, PageContentTypeAnalyzer pageContentAnalyzer, PageResponseRenderer renderer)
-
-
Method Details
-
findContentType
Description copied from interface:ResponseRendererFinds the content type for the page containing the indicated component.- Specified by:
findContentTypein interfaceResponseRenderer- Parameters:
component- a component within a page- Returns:
- the content type
-
renderPageMarkupResponse
Description copied from interface:ResponseRendererRenders a markup response by rendering the named page.- Specified by:
renderPageMarkupResponsein interfaceResponseRenderer- Parameters:
pageName- logical name of page to provide the markup- Throws:
IOException
-