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, resetLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, read, write
public RequestMimeStreamData(AppContext conn, HttpServletRequest req)
public long getLength()
StreamData
getLength
in interface StreamData
public java.io.InputStream getInputStream()
StreamData
getInputStream
in interface StreamData
public java.io.OutputStream getOutputStream()
StreamData
getOutputStream
in interface StreamData
public java.lang.String getContentType()
MimeStreamData
getContentType
in interface MimeStreamData
public java.lang.String getName()
MimeStreamData
getName
in interface MimeStreamData