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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFileRedirection(java.io.File originalFile, java.io.File compressedfile)
Puts a compressed file name into the resource cache of the web server.void
addFileRedirection(java.lang.String name, java.io.File file)
Puts a compressed file name into the resource cache of the web server.
Method Detail
addFileRedirection
void addFileRedirection(java.lang.String name, java.io.File file)
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
void addFileRedirection(java.io.File originalFile, java.io.File compressedfile)
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.