nextapp.echo2.webrender
Interface WebRenderAction.MultipartRequestWrapper

All Known Subinterfaces:
MultipartUploadSPI
All Known Implementing Classes:
AbstractFileUploadProvider, JakartaCommonsFileUploadProvider
Enclosing class:
WebRenderAction

public static interface WebRenderAction.MultipartRequestWrapper

An interface implemented by a supporting object that will handle multipart/form-data encoded HTTP requests. This type of request is required for file uploads. Echo does not provide internal support for file uploads, but instead provides hooks for file-upload handling components.


Method Summary
 HttpServletRequest getWrappedRequest(HttpServletRequest request)
          Returns a replacement HttpServletRequest object that may be used to handle a multipart/form-data encoded HTTP request.
 

Method Detail

getWrappedRequest

HttpServletRequest getWrappedRequest(HttpServletRequest request)
                                     throws java.io.IOException,
                                            ServletException
Returns a replacement HttpServletRequest object that may be used to handle a multipart/form-data encoded HTTP request.

Parameters:
request - The HTTP request provided from the servlet container that has multipart/form-data encoding.
Returns:
An HTTP request that is capable of handling multipart/form-data encoding.
Throws:
java.io.IOException
ServletException