public class ObjectWriterRequestEntity extends Object implements org.apache.commons.httpclient.methods.RequestEntity
RequestEntity
that writes a list of object through
an ObjectOutputStream
.Constructor and Description |
---|
ObjectWriterRequestEntity() |
Modifier and Type | Method and Description |
---|---|
void |
add(String methodName,
Object... objects) |
long |
getContentLength() |
String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(OutputStream out) |
public boolean isRepeatable()
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
public void writeRequest(OutputStream out) throws IOException
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
IOException
public long getContentLength()
getContentLength
in interface org.apache.commons.httpclient.methods.RequestEntity
public String getContentType()
getContentType
in interface org.apache.commons.httpclient.methods.RequestEntity
Copyright © 2012 Nuxeo SA. All Rights Reserved.