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
Field Summary
Method Summary
Modifier and TypeMethodDescriptionvoid
addFileRedirection
(File originalFile, File compressedfile) Puts a compressed file name into the resource cache of the web server.void
addFileRedirection
(String name, File file) Puts a compressed file name into the resource cache of the web server.
Field Details
INDEX_HTML
The "index.html" string.- See Also:
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.