public class RESTRequestEntity2
extends java.lang.Object
implements org.apache.commons.httpclient.methods.RequestEntity
| Constructor and Description |
|---|
RESTRequestEntity2(java.lang.String postRequestBody,
java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
java.lang.String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(java.io.OutputStream output) |
public RESTRequestEntity2(java.lang.String postRequestBody,
java.lang.String contentType)
public void writeRequest(java.io.OutputStream output)
throws java.io.IOException
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntityjava.io.IOExceptionpublic long getContentLength()
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntitypublic java.lang.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.