public class RESTRequestEntity2 extends Object implements org.apache.commons.httpclient.methods.RequestEntity
| Constructor and Description |
|---|
RESTRequestEntity2(String postRequestBody,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(OutputStream output) |
public void writeRequest(OutputStream output) 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.RequestEntitypublic boolean isRepeatable()
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntityCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.