Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
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 change
|
org.apache.tapestry5.internal.services.assets |
[INTERNAL USE ONLY] asset support services; API subject to change
|
org.apache.tapestry5.services |
Core services
|
org.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
|
Modifier and Type | Method and Description |
---|---|
ContentType |
ContentType.withCharset(String charset) |
ContentType |
ContentType.withParameter(String key,
String value)
Returns a new content type with the indicated parameter.
|
Modifier and Type | Field and Description |
---|---|
static ContentType |
InternalConstants.JAVASCRIPT_CONTENT_TYPE |
Modifier and Type | Method and Description |
---|---|
ContentType |
ResponseRendererImpl.findContentType(Object component) |
ContentType |
PageContentTypeAnalyzer.findContentType(Page page)
Analyzes the meta-data for the page and identifies the correct
ContentType
(including encoding). |
ContentType |
PageContentTypeAnalyzerImpl.findContentType(Page page) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResponseCompressionAnalyzerImpl.isGZipEnabled(ContentType contentType) |
MarkupWriter |
MarkupWriterFactoryImpl.newMarkupWriter(ContentType contentType) |
MarkupWriter |
MarkupWriterFactoryImpl.newPartialMarkupWriter(ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
ContentType |
StreamableResourceImpl.getContentType() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
StreamableResourceSourceImpl.fileExtensionsForContentType(ContentType contentType) |
Set<String> |
DelegatingSRS.fileExtensionsForContentType(ContentType contentType) |
StreamableResource |
StreamableResourceImpl.withContentType(ContentType newContentType) |
Constructor and Description |
---|
StreamableResourceImpl(String description,
ContentType contentType,
CompressionStatus compression,
long lastModified,
BytestreamCache bytestreamCache,
AssetChecksumGenerator assetChecksumGenerator,
ResponseCustomizer responseCustomizer) |
Modifier and Type | Method and Description |
---|---|
ContentType |
ResponseRenderer.findContentType(Object component)
Finds the content type for the page containing the indicated component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResponseCompressionAnalyzer.isGZipEnabled(ContentType contentType)
Uses
CompressionAnalyzer to determine if the content is compressable, but only if the request
indicates the client supports compression. |
MarkupWriter |
MarkupWriterFactory.newMarkupWriter(ContentType contentType)
Deprecated.
use
MarkupWriterFactory.newMarkupWriter(Page) instead which doesn't rely on the content type alone. |
MarkupWriter |
MarkupWriterFactory.newPartialMarkupWriter(ContentType contentType)
Deprecated.
use
MarkupWriterFactory.newPartialMarkupWriter(Page) instead which doesn't rely on the content type alone. |
Modifier and Type | Method and Description |
---|---|
ContentType |
StreamableResource.getContentType()
Returns the resource's content type.
|
ContentType |
ResourceTransformer.getTransformedContentType()
Returns the MIME type of a transformed stream.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
StreamableResourceSource.fileExtensionsForContentType(ContentType contentType)
Given a desired content type, identify which file extensions can be mapped to that extension based on
contributed
ResourceTransformer s that can
produce the content type
based for a file with that extension. |
StreamableResource |
StreamableResource.withContentType(ContentType newContentType)
Returns a new StreamableResource instance with the new content type.
|
Constructor and Description |
---|
TextStreamResponse(ContentType contentType,
String text) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.