public class CssPackageResource extends PackageResource
PackageResource.PackageResourceBlockedExceptionAbstractResource.ContentRangeType, AbstractResource.ResourceResponse, AbstractResource.WriteCallbackIResource.AttributesCONTENT_DISPOSITION_HEADER_NAME, CONTENT_RANGE_ENDBYTE, CONTENT_RANGE_STARTBYTE, INTERNAL_HEADERS| Constructor and Description |
|---|
CssPackageResource(Class<?> scope,
String name,
Locale locale,
String style,
String variation)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected ICssCompressor |
getCompressor()
Gets the
ICssCompressor to be used. |
accept, compressResponse, equals, exists, exists, getCacheKey, getCompress, getName, getProcessingEncoding, getResourceStream, getScope, getStyle, getTextEncoding, hashCode, isCachingEnabled, newResourceResponse, processResponse, readBuffered, setCachingEnabled, setCompress, setTextEncoding, toStringconfigureCache, getCachingStrategy, respond, setRequestMetaData, setRequestRangeMetaData, setResponseContentRangeHeaderFields, setResponseHeaderspublic CssPackageResource(Class<?> scope, String name, Locale locale, String style, String variation)
scope - This argument will be used to get the class loader for loading the package
resource, and to determine what package it is inname - The relative path to the resourcelocale - The locale of the resourcestyle - The style of the resourcevariation - The component's variation (of the style)protected ICssCompressor getCompressor()
ICssCompressor to be used. By default returns the configured compressor on
application level, but can be overridden by the user application to provide compressor
specific to the resource.getCompressor in class PackageResourcenull.Copyright © 2006–2021 Apache Software Foundation. All rights reserved.