public class RequestMimeStreamData extends AbstractContexed implements MimeStreamData
conn| Constructor and Description |
|---|
RequestMimeStreamData(AppContext conn,
HttpServletRequest req) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
get the Mime type associated with the Data
|
java.io.InputStream |
getInputStream()
get an InputStream to read the state of the obect
|
long |
getLength()
get the size of data held in the object
|
java.lang.String |
getName()
Get the original filename associated with the data.
|
java.io.OutputStream |
getOutputStream()
Get an OutputStream used to modify the state of the object
|
getContext, getLogger, resetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, read, writepublic RequestMimeStreamData(AppContext conn, HttpServletRequest req)
public long getLength()
StreamDatagetLength in interface StreamDatapublic java.io.InputStream getInputStream()
StreamDatagetInputStream in interface StreamDatapublic java.io.OutputStream getOutputStream()
StreamDatagetOutputStream in interface StreamDatapublic java.lang.String getContentType()
MimeStreamDatagetContentType in interface MimeStreamDatapublic java.lang.String getName()
MimeStreamDatagetName in interface MimeStreamData