oracle.cabo.servlet.io
Class FileUploadManager
java.lang.Object
|
+--oracle.cabo.servlet.io.FileUploadManager
- Direct Known Subclasses:
- BaseFileUploadManager
- public abstract class FileUploadManager
- extends java.lang.Object
FileUploadManager is initialized during UIX Servlet startup and destroyed
on UIX Servlet shutdown. It is responsible for managing multipart form
data upload requests, mapping them to a suitable PageEvent, for later use in
an event handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUploadManager
public FileUploadManager()
init
public void init(javax.servlet.ServletConfig config)
- Initializes the FileUploadManager.
- Parameters:
config
- the servlet configuration
decodeMultipartRequest
public abstract PageEvent decodeMultipartRequest(BajaContext context,
Page page)
throws java.io.IOException,
javax.servlet.ServletException
- Decodes a multipart request. If null is returned, the page broker will
automatically create a page event based on the servlet request parameters.
- Parameters:
context
- the BajaContextpage
- the page the client is requesting- Returns:
- the PageEvent to be processed in the response
destroy
public void destroy()
- Provides an opportunity to cleanup the FileUploadManager.