org.apache.tapestry5.upload.internal.services
Class UploadExceptionFilter

java.lang.Object
  extended by org.apache.tapestry5.upload.internal.services.UploadExceptionFilter
All Implemented Interfaces:
ComponentEventRequestFilter

@Events(value="uploadException when a exception occur processing the upload")
public class UploadExceptionFilter
extends java.lang.Object
implements ComponentEventRequestFilter

Determines if there was an FileUploadException processing the request and, if so, triggers an exception event on the page. If the page fails to respond to the event, then


Constructor Summary
UploadExceptionFilter(MultipartDecoder decoder, ComponentEventResultProcessor resultProcessor, ComponentSource componentSource)
           
 
Method Summary
 void handle(ComponentEventRequestParameters parameters, ComponentEventRequestHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadExceptionFilter

public UploadExceptionFilter(MultipartDecoder decoder,
                             @Traditional@Primary
                             ComponentEventResultProcessor resultProcessor,
                             ComponentSource componentSource)
Method Detail

handle

public void handle(ComponentEventRequestParameters parameters,
                   ComponentEventRequestHandler handler)
            throws java.io.IOException
Specified by:
handle in interface ComponentEventRequestFilter
Throws:
java.io.IOException


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.