ro.polak.webserver
Class MultipartRequestHandler

java.lang.Object
  extended by ro.polak.webserver.MultipartRequestHandler

public class MultipartRequestHandler
extends java.lang.Object

Multipart request handler

Java Little Web Server Homepage

Version:
1.0/21.02.2008
Author:
Piotr Polak www.polak.ro

Constructor Summary
MultipartRequestHandler(java.io.InputStream in, int postLength, java.lang.String boundary)
          Creates MultipartRequestHandler
 
Method Summary
 AttributeList getPost()
          Returns AttributeList representation of POST attributes
 java.util.Vector<UploadedFile> getUploadedFiles()
          Returns Vector of uploaded files
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartRequestHandler

public MultipartRequestHandler(java.io.InputStream in,
                               int postLength,
                               java.lang.String boundary)
Creates MultipartRequestHandler

Parameters:
in - the input stream
postLength - expected length
boundary - boundary string
Method Detail

getPost

public AttributeList getPost()
Returns AttributeList representation of POST attributes

Returns:
AttributeList representation of POST attributes

getUploadedFiles

public java.util.Vector<UploadedFile> getUploadedFiles()
Returns Vector of uploaded files

Returns:
Vector of UploadedFiles