@EngineService(injectDefaultToWorkflow=false, isCoreEngine=true) public class GzipEngine extends NodeEngine
This engine GZIP nut content.
Constructor and Description |
---|
GzipEngine(Boolean compress)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
EngineType |
getEngineType()
Gets the type of engine.
|
List<NutType> |
getNutTypes()
Gets the all
types supported by this engine. |
protected List<ConvertibleNut> |
internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
Boolean |
works()
Returns a flag indicating if the engine is configured to do something or not.
|
callNextEngine, chain, getNext, getPrevious, parse, setNext
@ConfigConstructor public GzipEngine(@BooleanConfigParam(propertyKey="c.g.wuic.engine.compress",defaultValue=true) Boolean compress)
Builds a new instance.
compress
- compress or notpublic List<NutType> getNutTypes()
Gets the all types
supported by this engine.
getNutTypes
in class NodeEngine
NutType
public EngineType getEngineType()
Gets the type of engine.
getEngineType
in class Engine
protected List<ConvertibleNut> internalParse(EngineRequest request) throws WuicException
Internal method that parses eventually called by NodeEngine.parse(EngineRequest)
method during its invocation.
internalParse
in class Engine
request
- the request with files to parseWuicException
- if any kind of error occursCopyright © 2012-2015. All Rights Reserved.