com.koushikdutta.async.http
Class StringPart

java.lang.Object
  extended by com.koushikdutta.async.http.Part
      extended by com.koushikdutta.async.http.StreamPart
          extended by com.koushikdutta.async.http.StringPart

public class StringPart
extends StreamPart


Field Summary
 
Fields inherited from class com.koushikdutta.async.http.Part
CONTENT_DISPOSITION
 
Constructor Summary
StringPart(java.lang.String name, java.lang.String value)
           
 
Method Summary
protected  java.io.InputStream getInputStream()
           
 
Methods inherited from class com.koushikdutta.async.http.StreamPart
write
 
Methods inherited from class com.koushikdutta.async.http.Part
getContentType, getFilename, getName, getRawHeaders, isFile, length
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPart

public StringPart(java.lang.String name,
                  java.lang.String value)
Method Detail

getInputStream

protected java.io.InputStream getInputStream()
                                      throws java.io.IOException
Specified by:
getInputStream in class StreamPart
Throws:
java.io.IOException