@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 IOException
resource - to minimizeIOException${project.version} - Copyright © 2003-2015 The Apache Software Foundation.