org.apache.tapestry.multipart
Interface MultipartDecoder

All Known Subinterfaces:
PortletMultipartDecoder, ServletMultipartDecoder
All Known Implementing Classes:
MultipartDecoderImpl, PortletMultipartDecoderImpl

public interface MultipartDecoder

Responsible for detecting and processing file upload requests, using Jakarta Commons FileUpload. Implementations of this service typically use the threaded service lifecycle model.

Since:
4.0
Author:
Howard M. Lewis Ship

Method Summary
 void cleanup()
          Cleans up any temporary resources created during the request processing.
 IUploadFile getFileUpload(String parameterName)
          Gets a file upload with the given name, or returns null if no such file upload was in the request.
 

Method Detail

getFileUpload

IUploadFile getFileUpload(String parameterName)
Gets a file upload with the given name, or returns null if no such file upload was in the request.


cleanup

void cleanup()
Cleans up any temporary resources created during the request processing. This typically includes temporary files used to contain uploaded file content.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.