com.arsdigita.acs.fs
Class Download
java.lang.Object
|
+--com.arsdigita.acs.FilterBase
|
+--com.arsdigita.acs.fs.Download
- All Implemented Interfaces:
- Filter
- public class Download
- extends FilterBase
Serves as a registered procedure for path
/file-storage/download//pretty-name. This is useful because sometimes
we can't count on the browser recognizing the Content-Disposition header
for deciding what to do with a HTTP response.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Download
public Download()
static void ()
filter
public int filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
throws ACSException
- Description copied from interface:
Filter
- The request filter interface.
- Following copied from interface:
com.arsdigita.acs.Filter
- Parameters:
req
- The servlet requestresp
- The servlet responsectx
- The servlet context- Returns:
- FILTER_RETURN if the caller should not continue processing
the request after the filter is called; FILTER_OK if the
caller should continue procesing the request; FILTER_BREAK if the
caller should not process any more
filters.