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 SummaryFields
- Method SummaryModifier and TypeMethodDescription- void- 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
- Method Details- addFileRedirectionPuts 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.
 
- addFileRedirectionPuts 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.