public interface JavaScriptStackAssembler
JavaScriptStack
into
a single resource; this is needed to generate a checksum for the aggregated assets, and also to service the
aggregated stack content.SymbolConstants.COMBINE_SCRIPTS
Modifier and Type | Method and Description |
---|---|
StreamableResource |
assembleJavaScriptResourceForStack(String stackName,
boolean compress,
JavaScriptAggregationStrategy javascriptAggregationStrategy)
Obtains the
JavaScriptStack by name, and then
uses the StreamableResourceSource service to
obtain the assets, which are combined together. |
StreamableResource assembleJavaScriptResourceForStack(String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy) throws IOException
JavaScriptStack
by name, and then
uses the StreamableResourceSource
service to
obtain the assets, which are combined together.
Expects the non-persistent locale to be set before invoking!IOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.