org.mortbay.servlet
Class PostFileFilter
public
class
PostFileFilter
extends Object
implements Filter
PostFileFilter.
Filter to accept file content from a POST request.
The translated path is used as the file name to store the content from POST requests.
Configuration init parameters:
- bufferSize - The size of the buffer used to copy content
- response - The response after the file is received:
- ok - an empty response with an OK status
- nocontent - an empty response with a NO_CONTENT status (the default)
- chain - pass the request down the filter chain for normal response.
- redirect - redirect for a GET request to the same URI
Author: gregw@mortbay.com
public void destroy()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.