@UsesMappedConfiguration(value=ResourceMinimizer.class) public interface ResourceMinimizer
Primary marker interface.| Modifier and Type | Method and Description |
|---|---|
StreamableResource |
minimize(StreamableResource resource)
Checks the content type of the resource and applies an
appropriate minimization to it if possible.
|
StreamableResource minimize(StreamableResource resource) throws java.io.IOException
resource - to minimizejava.io.IOException${project.version} - Copyright © 2003-2015 The Apache Software Foundation.