Uses of Class
org.apache.tapestry5.http.ContentType
-
Packages that use ContentType Package Description org.apache.tapestry5.http org.apache.tapestry5.http.internal.services org.apache.tapestry5.http.services org.apache.tapestry5.internal [INTERNAL USE ONLY] internal support classes; API subject to change.org.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.assets [INTERNAL USE ONLY] asset support services; API subject to changeorg.apache.tapestry5.services Core servicesorg.apache.tapestry5.services.assets Various services for assets (e.g., images, JavaScript and CSS files)org.apache.tapestry5.util 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 ContentType Modifier and Type Method Description ContentTypeContentType. withCharset(java.lang.String charset)ContentTypeContentType. withParameter(java.lang.String key, java.lang.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 ContentType Modifier and Type Method Description booleanResponseCompressionAnalyzerImpl. isGZipEnabled(ContentType contentType) -
Uses of ContentType in org.apache.tapestry5.http.services
Methods in org.apache.tapestry5.http.services with parameters of type ContentType Modifier and Type Method Description booleanResponseCompressionAnalyzer. 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 ContentType Modifier and Type Field Description static ContentTypeInternalConstants. JAVASCRIPT_CONTENT_TYPE -
Uses of ContentType in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services that return ContentType Modifier and Type Method Description ContentTypePageContentTypeAnalyzer. findContentType(Page page)Analyzes the meta-data for the page and identifies the correctContentType(including encoding).ContentTypePageContentTypeAnalyzerImpl. findContentType(Page page)ContentTypeResponseRendererImpl. findContentType(java.lang.Object component)Methods in org.apache.tapestry5.internal.services with parameters of type ContentType Modifier and Type Method Description MarkupWriterMarkupWriterFactoryImpl. newMarkupWriter(ContentType contentType)MarkupWriterMarkupWriterFactoryImpl. newPartialMarkupWriter(ContentType contentType) -
Uses of ContentType in org.apache.tapestry5.internal.services.assets
Methods in org.apache.tapestry5.internal.services.assets that return ContentType Modifier and Type Method Description ContentTypeStreamableResourceImpl. getContentType()Methods in org.apache.tapestry5.internal.services.assets with parameters of type ContentType Modifier and Type Method Description java.util.Set<java.lang.String>DelegatingSRS. fileExtensionsForContentType(ContentType contentType)java.util.Set<java.lang.String>StreamableResourceSourceImpl. fileExtensionsForContentType(ContentType contentType)StreamableResourceStreamableResourceImpl. withContentType(ContentType newContentType)Constructors in org.apache.tapestry5.internal.services.assets with parameters of type ContentType Constructor Description StreamableResourceImpl(java.lang.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 ContentType Modifier and Type Method Description ContentTypeResponseRenderer. findContentType(java.lang.Object component)Finds the content type for the page containing the indicated component.Methods in org.apache.tapestry5.services with parameters of type ContentType Modifier and Type Method Description MarkupWriterMarkupWriterFactory. newMarkupWriter(ContentType contentType)Deprecated.useMarkupWriterFactory.newMarkupWriter(Page)instead which doesn't rely on the content type alone.MarkupWriterMarkupWriterFactory. 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 ContentType Modifier and Type Method Description ContentTypeStreamableResource. getContentType()Returns the resource's content type.ContentTypeResourceTransformer. getTransformedContentType()Returns the MIME type of a transformed stream.Methods in org.apache.tapestry5.services.assets with parameters of type ContentType Modifier and Type Method Description java.util.Set<java.lang.String>StreamableResourceSource. 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.StreamableResourceStreamableResource. 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 Constructor Description TextStreamResponse(ContentType contentType, java.lang.String text)
-