Class PageContentTypeAnalyzerImpl
java.lang.Object
org.apache.tapestry5.internal.services.PageContentTypeAnalyzerImpl
- All Implemented Interfaces:
PageContentTypeAnalyzer
-
Constructor Summary
ConstructorsConstructorDescriptionPageContentTypeAnalyzerImpl
(MetaDataLocator metaDataLocator, String outputCharset) -
Method Summary
Modifier and TypeMethodDescriptionfindContentType
(Page page) Analyzes the meta-data for the page and identifies the correctContentType
(including encoding).
-
Constructor Details
-
PageContentTypeAnalyzerImpl
public PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator, @Symbol("tapestry.charset") String outputCharset)
-
-
Method Details
-
findContentType
Description copied from interface:PageContentTypeAnalyzer
Analyzes the meta-data for the page and identifies the correctContentType
(including encoding).- Specified by:
findContentType
in interfacePageContentTypeAnalyzer
- Parameters:
page
- to be rendered- Returns:
- the content type
-