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.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
public boolean isRepeatable()
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.