Uses of Class
org.apache.tapestry5.http.ContentType
Packages that use ContentType
Package
Description
[INTERNAL USE ONLY] internal support classes; API subject to change.
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] asset support services; API subject to change
Core services
Various services for assets (e.g., images, JavaScript and CSS files)
A set of enums, abstract classs and wrappers of various purposes
-
Uses of ContentType in org.apache.tapestry5.http
Methods in org.apache.tapestry5.http that return ContentTypeModifier and TypeMethodDescriptionContentType.withCharset(String charset) ContentType.withParameter(String key, String value) Returns a new content type with the indicated parameter. -
Uses of ContentType in org.apache.tapestry5.http.internal.services
Methods in org.apache.tapestry5.http.internal.services with parameters of type ContentTypeModifier and TypeMethodDescriptionbooleanResponseCompressionAnalyzerImpl.isGZipEnabled(ContentType contentType) -
Uses of ContentType in org.apache.tapestry5.http.services
Methods in org.apache.tapestry5.http.services with parameters of type ContentTypeModifier and TypeMethodDescriptionbooleanResponseCompressionAnalyzer.isGZipEnabled(ContentType contentType) UsesCompressionAnalyzerto determine if the content is compressable, but only if the request indicates the client supports compression. -
Uses of ContentType in org.apache.tapestry5.internal
Fields in org.apache.tapestry5.internal declared as ContentTypeModifier and TypeFieldDescriptionstatic final ContentTypeInternalConstants.JAVASCRIPT_CONTENT_TYPE -
Uses of ContentType in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services that return ContentTypeModifier and TypeMethodDescriptionPageContentTypeAnalyzer.findContentType(Page page) Analyzes the meta-data for the page and identifies the correctContentType(including encoding).PageContentTypeAnalyzerImpl.findContentType(Page page) ResponseRendererImpl.findContentType(Object component) Methods in org.apache.tapestry5.internal.services with parameters of type ContentTypeModifier and TypeMethodDescriptionMarkupWriterFactoryImpl.newMarkupWriter(ContentType contentType) MarkupWriterFactoryImpl.newPartialMarkupWriter(ContentType contentType) -
Uses of ContentType in org.apache.tapestry5.internal.services.assets
Methods in org.apache.tapestry5.internal.services.assets that return ContentTypeMethods in org.apache.tapestry5.internal.services.assets with parameters of type ContentTypeModifier and TypeMethodDescriptionDelegatingSRS.fileExtensionsForContentType(ContentType contentType) StreamableResourceSourceImpl.fileExtensionsForContentType(ContentType contentType) StreamableResourceImpl.withContentType(ContentType newContentType) Constructors in org.apache.tapestry5.internal.services.assets with parameters of type ContentTypeModifierConstructorDescriptionStreamableResourceImpl(String description, ContentType contentType, CompressionStatus compression, long lastModified, BytestreamCache bytestreamCache, AssetChecksumGenerator assetChecksumGenerator, ResponseCustomizer responseCustomizer) -
Uses of ContentType in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return ContentTypeModifier and TypeMethodDescriptionResponseRenderer.findContentType(Object component) Finds the content type for the page containing the indicated component.Methods in org.apache.tapestry5.services with parameters of type ContentTypeModifier and TypeMethodDescriptionMarkupWriterFactory.newMarkupWriter(ContentType contentType) Deprecated.MarkupWriterFactory.newPartialMarkupWriter(ContentType contentType) Deprecated.useMarkupWriterFactory.newPartialMarkupWriter(Page)instead which doesn't rely on the content type alone. -
Uses of ContentType in org.apache.tapestry5.services.assets
Methods in org.apache.tapestry5.services.assets that return ContentTypeModifier and TypeMethodDescriptionStreamableResource.getContentType()Returns the resource's content type.ResourceTransformer.getTransformedContentType()Returns the MIME type of a transformed stream.Methods in org.apache.tapestry5.services.assets with parameters of type ContentTypeModifier and TypeMethodDescriptionStreamableResourceSource.fileExtensionsForContentType(ContentType contentType) Given a desired content type, identify which file extensions can be mapped to that extension based on contributedResourceTransformers that can produce the content type based for a file with that extension.StreamableResource.withContentType(ContentType newContentType) Returns a new StreamableResource instance with the new content type. -
Uses of ContentType in org.apache.tapestry5.util
Constructors in org.apache.tapestry5.util with parameters of type ContentType
MarkupWriterFactory.newMarkupWriter(Page)instead which doesn't rely on the content type alone.