@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
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.