com.buglabs.osgi.http.pub
Class PostedFile
java.lang.Object
com.buglabs.osgi.http.pub.PostedFile
public class PostedFile
- extends java.lang.Object
A container for data sent in the body of an HTTP POST request via an input
tag with type="file".
|
Constructor Summary |
PostedFile(java.lang.String fileName,
java.lang.String contentType,
byte[] data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PostedFile
public PostedFile(java.lang.String fileName,
java.lang.String contentType,
byte[] data)
getFileName
public java.lang.String getFileName()
getContentType
public java.lang.String getContentType()
getData
public byte[] getData()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object