net.sf.springlayout.web.layout.servlet
Class FileProcessor
java.lang.Object
net.sf.springlayout.web.layout.servlet.FileProcessor
public class FileProcessor
- extends java.lang.Object
A file servlet component for serving up file system resources very that
closely resembles that used in DWR but enabled to handle images
- Author:
- Rob Monie, Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
protected void |
doFile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String path,
java.lang.String mimeType)
Basically a file servlet component that does some very limitted EL
type processing on the file. |
boolean |
isIgnoreLastModified()
|
void |
setIgnoreLastModified(boolean ignoreLastModified)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileProcessor
public FileProcessor()
doFile
protected void doFile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String path,
java.lang.String mimeType)
throws java.io.IOException
- Basically a file servlet component that does some very limitted EL
type processing on the file. See the source for the cheat.
- Parameters:
req
- The request from the browserresp
- The response channelpath
- The path to search for, process and outputmimeType
- The mime type to use for this output file
- Throws:
java.io.IOException
- If writing to the output fails
isIgnoreLastModified
public boolean isIgnoreLastModified()
- Returns:
- Returns the ignoreLastModified.
setIgnoreLastModified
public void setIgnoreLastModified(boolean ignoreLastModified)
- Parameters:
ignoreLastModified
- The ignoreLastModified to set.
Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.