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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The "index.html" string.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileRedirection(File originalFile, File compressedfile)
    Puts a compressed file name into the resource cache of the web server.
    void
    Puts a compressed file name into the resource cache of the web server.
  • Field Details

  • Method Details

    • addFileRedirection

      void addFileRedirection(String name, 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(File originalFile, 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.