Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.web
Class MultipartFilter

    java.lang.Object
      org.jboss.seam.web.AbstractFilter
          org.jboss.seam.web.MultipartFilter

All Implemented Interfaces:
  javax.servlet.Filter

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

extends AbstractFilter

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

Author:
  Shane Bryzak

Field Summary
`static String` | `MULTIPART`

Constructor Summary
`MultipartFilter()`

Method Summary
`void` | `doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)`
`boolean` | `getCreateTempFiles()`
`int` | `getMaxRequestSize()`
`void` | `setCreateTempFiles(boolean createTempFiles)`
`void` | `setMaxRequestSize(int maxFileSize)`

Methods inherited from class org.jboss.seam.web.AbstractFilter
`destroy, getRegexUrlPattern, getServletContext, getUrlPattern, init, isDisabled, isMappedToCurrentRequestPath, setDisabled, setRegexUrlPattern, setUrlPattern`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MULTIPART

    public static final String MULTIPART

See Also:
  Constant Field Values

Constructor Detail

### MultipartFilter

    public MultipartFilter()

Method Detail

### getCreateTempFiles

    public boolean getCreateTempFiles()

### setCreateTempFiles

    public void setCreateTempFiles(boolean createTempFiles)

### getMaxRequestSize

    public int getMaxRequestSize()

### setMaxRequestSize

    public void setMaxRequestSize(int maxFileSize)

### doFilter

    public void doFilter(javax.servlet.ServletRequest request,
                         javax.servlet.ServletResponse response,
                         javax.servlet.FilterChain chain)
                  throws IOException,
                         javax.servlet.ServletException

  Throws:
    `IOException`
    `javax.servlet.ServletException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.