public class OutputStreamRequestEntity extends Object implements org.apache.commons.httpclient.methods.RequestEntity
| Constructor and Description |
|---|
OutputStreamRequestEntity(ByteArrayOutputStream outputStream) |
OutputStreamRequestEntity(ByteArrayOutputStream outputStream,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(OutputStream outputStream) |
public OutputStreamRequestEntity(ByteArrayOutputStream outputStream)
public OutputStreamRequestEntity(ByteArrayOutputStream outputStream, String contentType)
public boolean isRepeatable()
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntitypublic void writeRequest(OutputStream outputStream) throws IOException
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntityIOExceptionpublic long getContentLength()
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntitypublic String getContentType()
getContentType in interface org.apache.commons.httpclient.methods.RequestEntity