public class CssPackageResource extends PackageResource
PackageResource.PackageResourceBlockedExceptionAbstractResource.ResourceResponse, AbstractResource.WriteCallbackIResource.AttributesINTERNAL_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. |
protected byte[] |
processResponse(IResource.Attributes attributes,
byte[] bytes)
Gives a chance to modify the resource going to be written in the response
|
accept, equals, exists, exists, getCacheableResourceStream, getCacheKey, getCompress, getResourceStream, getScope, getStyle, getTextEncoding, hashCode, isCachingEnabled, newResourceResponse, setCachingEnabled, setCompress, setTextEncoding, toStringconfigureCache, getCachingStrategy, respond, setResponseHeadersprotected byte[] processResponse(IResource.Attributes attributes, byte[] bytes)
PackageResourceprocessResponse in class PackageResourceattributes - current request attributes from clientbytes - the original responseprotected ICssCompressor getCompressor()
ICssCompressor to be used. By default returns the configured compressor on
application level, but can be overriden by the user application to provide compressor
specific to the resource.null.Copyright © 2006–2014 Apache Software Foundation. All rights reserved.