|
Oracle interMedia Java Classes for Servlets and JSP API Reference 10g Release 1 (10.1) Part No. B12249-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ord.im.OrdMultipartFilter
The OrdMultipartFilter class implements the javax.servlet.Filter interface in the servlet 2.3. It filters the form-based file upload servlet request (with the content type multipart/form-data) and wraps the request object using OrdMultipartWrapper
object that parses the request content. For any servlet container that supports servlet 2.3, this filter combined with OrdMultipartWrapper
object provide transparent accesses to the parameters and files in the servlet request with multipart/form-data encoding.
Constructor Summary | |
OrdMultipartFilter() |
Method Summary | |
void |
destroy() Implement Filter interface method destroy() that destroys the filter. |
void |
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) Implement Filter interface method doFilter() that handles the servlet request with multipart/form-data encoding. |
void |
init(javax.servlet.FilterConfig config) Implement the Filter interface method init() that initialize the filter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrdMultipartFilter()
Method Detail |
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
FilterConfig
- an object of type javax.servlet.FilterConfig.public void destroy()
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
OrdMultipartWrapper
object which will parse the content and provide the access to the text-based form field parameters and the uploaded files.request
- the servlet requestresponse
- the servlet responsechain
- the filters that still must be processed.
|
Oracle interMedia Java Classes for Servlets and JSP API Reference 10g Release 1 (10.1) Part No. B12249-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |