org.mortbay.servlet

Class PostFileFilter

Implemented Interfaces:
Filter

public class PostFileFilter
extends java.lang.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:
Author:
gregw@mortbay.com

Method Summary

void
destroy()
void
doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
void
init(FilterConfig filterConfig)

Method Details

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
            throws IOException,
                   ServletException
Specified by:
doFilter in interface Filter

init

public void init(FilterConfig filterConfig)
            throws ServletException
Specified by:
init in interface Filter

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.