public abstract class RESTRequestEntity2 extends Object
Constructor and Description |
---|
RESTRequestEntity2(String postRequestBody,
String contentType) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
String |
getContentTypeAsString() |
String |
getPostRequestBody() |
InputStream |
getRequestEntityContent() |
boolean |
isRepeatable() |
void |
setContentType(String contentType) |
void |
setPostRequestBody(String postRequestBody) |
void |
writeRequest(OutputStream output) |
public void writeRequest(OutputStream output) throws IOException
IOException
public long getContentLength()
public String getContentTypeAsString()
public boolean isRepeatable()
public void setContentType(String contentType)
public String getPostRequestBody()
public void setPostRequestBody(String postRequestBody)
public InputStream getRequestEntityContent()
Copyright © The Apache Software Foundation. All Rights Reserved.