FileManager Class

Used to serve up static files (html, javascript, css, images, etc). Ensures static files are cached properly by browsers by appending version numbers to css and js files. Also updates js and css resources referenced inside html files and application-specific xml files. Redirects requests to the most recent version of each file. Sends 304 responses as required.

Constructors

public FileManager( javaxt.io.Directory web )

Methods

sendFile( HttpServletRequest request, HttpServletResponse response ) returns void
Used to send a file to the client.
sendFile( String path, HttpServletRequest request, HttpServletResponse response ) returns void
Used to send a file to the client.
sendFile( java.io.File file, HttpServletRequest request, HttpServletResponse response ) returns void
Used to send a file to the client.
sendFile( javaxt.io.File file, HttpServletRequest request, HttpServletResponse response ) returns void
Used to send a file to the client.