Package com.iizix
Interface IWebServerCompression
- All Known Implementing Classes:
IntegratedWebServer,RunConfigurationWebServer
public interface IWebServerCompression
Interface used for dynamic web server compression when an HTML file is mangled into a certain configuration and results in a single CSS and JS source rather than multiple files.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileRedirection(File originalFile, File compressedfile) Puts a compressed file name into the resource cache of the web server.voidaddFileRedirection(String name, File file) Puts a compressed file name into the resource cache of the web server.
Method Details
addFileRedirection
Puts a compressed file name into the resource cache of the web server.- Parameters:
name- The file name, typically "iizi*-build.css" or "iizi*-build.js".file- The compressed CSS or JS file.
addFileRedirection
Puts a compressed file name into the resource cache of the web server.- Parameters:
originalFile- The original uncompressed file.compressedfile- The compressed CSS or JS file.