Class ResponseRendererImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.ResponseRendererImpl
-
- All Implemented Interfaces:
ResponseRenderer
public class ResponseRendererImpl extends Object implements ResponseRenderer
-
-
Constructor Summary
Constructors Constructor Description ResponseRendererImpl(RequestPageCache pageCache, PageContentTypeAnalyzer pageContentAnalyzer, PageResponseRenderer renderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType
findContentType(Object component)
Finds the content type for the page containing the indicated component.void
renderPageMarkupResponse(String pageName)
Renders a markup response by rendering the named page.
-
-
-
Constructor Detail
-
ResponseRendererImpl
public ResponseRendererImpl(RequestPageCache pageCache, PageContentTypeAnalyzer pageContentAnalyzer, PageResponseRenderer renderer)
-
-
Method Detail
-
findContentType
public ContentType findContentType(Object component)
Description copied from interface:ResponseRenderer
Finds the content type for the page containing the indicated component.- Specified by:
findContentType
in interfaceResponseRenderer
- Parameters:
component
- a component within a page- Returns:
- the content type
-
renderPageMarkupResponse
public void renderPageMarkupResponse(String pageName) throws IOException
Description copied from interface:ResponseRenderer
Renders a markup response by rendering the named page.- Specified by:
renderPageMarkupResponse
in interfaceResponseRenderer
- Parameters:
pageName
- logical name of page to provide the markup- Throws:
IOException
-
-