Esri Geoportal Server
1.0

com.esri.gpt.control.filter
Class MultipartFilter

java.lang.Object
  extended by com.esri.gpt.control.filter.MultipartFilter
All Implemented Interfaces:
Filter

public class MultipartFilter
extends Object
implements Filter

Filter to handle multipart requests.

If the request is multipart, a MultipartWrapper is instantiated to wrap the HTTP servlet request.


Constructor Summary
MultipartFilter()
          Default constructor.
 
Method Summary
 void destroy()
          Destroy event for the filter.
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Executes the filter.
 void init(FilterConfig filterConfig)
          Initialization event for the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartFilter

public MultipartFilter()
Default constructor.

Method Detail

destroy

public void destroy()
Destroy event for the filter.

Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Executes the filter.

Specified by:
doFilter in interface Filter
Parameters:
request - the servlet request
response - the servlet response
chain - the filter chain
Throws:
IOException - if an io exception occurs
ServletException - is a servlet exception occurs

init

public void init(FilterConfig filterConfig)
          throws ServletException
Initialization event for the filter

Specified by:
init in interface Filter
Parameters:
filterConfig - filter configuration
Throws:
ServletException - if an exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.