Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.multipart
Class MultipartFilter

java.lang.Object
  extended by org.jboss.seam.web.AbstractFilter
      extended by org.jboss.seam.web.MultipartFilter
          extended by org.nuxeo.ecm.platform.ui.web.multipart.MultipartFilter
All Implemented Interfaces:
Filter

@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.web.multipartFilter")
@Install(precedence=30)
@BypassInterceptors
@Filter(within={"org.jboss.seam.web.ajax4jsfFilter","org.jboss.seam.web.exceptionFilter"})
public class MultipartFilter
extends org.jboss.seam.web.MultipartFilter

A filter for decoding multipart requests, for use with the file upload control.

Nuxeo Filter to override buggy seam implementation, taken from RichFaces (see NXP-5138), FRAMEWORK precedence is not enough (seam filter is registered with APPLICATION precedence instead of BUILT_IN for some reason)

Author:
Shane Bryzak

Field Summary
 
Fields inherited from class org.jboss.seam.web.MultipartFilter
MULTIPART
 
Constructor Summary
MultipartFilter()
           
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 
Methods inherited from class org.jboss.seam.web.MultipartFilter
getCreateTempFiles, getMaxRequestSize, setCreateTempFiles, setMaxRequestSize
 
Methods inherited from class org.jboss.seam.web.AbstractFilter
destroy, getRegexUrlPattern, getUrlPattern, init, isDisabled, isMappedToCurrentRequestPath, setDisabled, setRegexUrlPattern, setUrlPattern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartFilter

public MultipartFilter()
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Overrides:
doFilter in class org.jboss.seam.web.MultipartFilter
Throws:
IOException
ServletException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.