public class ResponseRendererImpl extends Object implements ResponseRenderer
Constructor and Description |
---|
ResponseRendererImpl(RequestPageCache pageCache,
PageContentTypeAnalyzer pageContentAnalyzer,
PageResponseRenderer renderer) |
Modifier and Type | Method and 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.
|
public ResponseRendererImpl(RequestPageCache pageCache, PageContentTypeAnalyzer pageContentAnalyzer, PageResponseRenderer renderer)
public ContentType findContentType(Object component)
ResponseRenderer
findContentType
in interface ResponseRenderer
component
- a component within a pagepublic void renderPageMarkupResponse(String pageName) throws IOException
ResponseRenderer
renderPageMarkupResponse
in interface ResponseRenderer
pageName
- logical name of page to provide the markupIOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.