| Constructor and Description |
|---|
FileUploadFilter() |
FileUploadFilter(int maxInMemorySize) |
FileUploadFilter(int maxInMemorySize,
int maxSizeToThrowError) |
FileUploadFilter(int maxInMemorySize,
int maxSizeToThrowError,
String tempDirInsideWebInf) |
FileUploadFilter(int maxInMemorySize,
String tempDirInsideWebInf) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed.
|
String |
filter(InvocationChain chain)
Executes the filter.
|
protected javax.servlet.http.HttpServletRequest |
getRequest(Action action)
Because we are using the FileUpload from Jakarta Commons, and because it
requires the HttpServletRequest, there is nothing we can do about it
besides fetching the HttpServletRequest and giving it to the FileUpload
class.
|
String |
toString() |
public FileUploadFilter()
public FileUploadFilter(int maxInMemorySize)
public FileUploadFilter(int maxInMemorySize,
int maxSizeToThrowError)
public FileUploadFilter(int maxInMemorySize,
String tempDirInsideWebInf)
public FileUploadFilter(int maxInMemorySize,
int maxSizeToThrowError,
String tempDirInsideWebInf)
protected javax.servlet.http.HttpServletRequest getRequest(Action action)
public String filter(InvocationChain chain) throws Exception
Filterpublic void destroy()
FilterCopyright © 2015. All Rights Reserved.