@Events(value="uploadException when a exception occur processing the upload") public class UploadExceptionFilter extends Object implements ComponentEventRequestFilter
FileUploadException
processing the request and, if
so, triggers an exception event on the page. If the page fails to respond to the event, thenConstructor and Description |
---|
UploadExceptionFilter(MultipartDecoder decoder,
ComponentEventResultProcessor resultProcessor,
ComponentSource componentSource) |
Modifier and Type | Method and Description |
---|---|
void |
handle(ComponentEventRequestParameters parameters,
ComponentEventRequestHandler handler)
Filter for a component action request.
|
public UploadExceptionFilter(MultipartDecoder decoder, @Traditional@Primary ComponentEventResultProcessor resultProcessor, ComponentSource componentSource)
public void handle(ComponentEventRequestParameters parameters, ComponentEventRequestHandler handler) throws IOException
ComponentEventRequestFilter
handle
in interface ComponentEventRequestFilter
parameters
- defining details of the requesthandler
- to delegate toIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.