Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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 Controller startup and destroyed on UIX Controller shutdown. It is responsible for managing multipart form data upload requests, mapping them to a suitable PageEvent, for later use in an event handler.


Constructor Summary
FileUploadManager()
           
 
Method Summary
abstract  PageEvent decodeMultipartRequest(BajaContext context, Page page)
          Decodes a multipart request.
 void destroy()
          Provides an opportunity to cleanup the FileUploadManager.
 void init(javax.servlet.ServletConfig config)
          Initializes the FileUploadManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadManager

public FileUploadManager()
Method Detail

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 BajaContext
page - 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.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.