Method DetailSiteBuilder cacheFiles(String[] secure) This will enable web caching for the specified extensions. Note: index.html is never cached. Pass an empty array to remove caching.
Parameters:
Returns: SiteBuilder Since: 08-02-2023 SiteBuilder deleteFile(String filename) Deletes the specified file. After all changes are made call publish().
Parameters:
Returns: SiteBuilder Since: 07-24-2023 SiteBuilder deleteWorkflowPath(String path) Deletes the path from being handled by workflow.
Parameters:
Returns: SiteBuilder Since: 01-05-2024 String[] getWorkflowPaths() Shows workflow paths, if any. Returns: String[] Since: 01-05-2024 SiteBuilder publish() Publishes any changes made. Returns: SiteBuilder Since: 07-24-2023 publishWebApp(File zipFile) Updates the content of this site with files contained in the zipFile. Throws exception if the resulting webapp exceeds max pal size. The zip must contain index.html. Other site settings (workflow paths, etc) remain intact. Any existing content files are replaced by this zipFile content.
Parameters:
Since: 07-07-2023 SiteBuilder putFile(String filename, File file) Puts the specified file into the site, over-riding any existing file with the same filename. . After all changes are made call publish().
Parameters:
Returns: SiteBuilder Since: 07-24-2023 removeWebApp() Removes the web app, if any, associated with this pal. After calling this method, calling any other method will re-create the web app. Since: 07-07-2023 SiteBuilder setSecure(boolean secure) If true, this will force a redirect to https if the request is not already https.
Parameters:
Returns: SiteBuilder Since: 08-02-2023 SiteBuilder setWorkflowPath(String path) Sets a path to be handled by workflow. The path is relative to the root and can end with a * for a wildcard.
Parameters:
Returns: SiteBuilder Since: 01-05-2024 String toString() Returns a description of this object. Returns: String Since: 07-07-2023 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 22, 2024 11:54 AM |