org.mortbay.servlet
Class PostFileFilter
java.lang.Object
org.mortbay.servlet.PostFileFilter
- Filter
public class PostFileFilter
extends java.lang.Object
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
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.