public class Apache4StringBody
extends org.apache.http.entity.mime.content.StringBody
Constructor and Description |
---|
Apache4StringBody(String content, Charset charset) |
Modifier and Type | Method and Description |
---|---|
String |
getTransferEncoding() |
create, create, create, getCharset, getContentLength, getFilename, getReader, writeTo, writeTo
public Apache4StringBody(String content, Charset charset) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getTransferEncoding()
getTransferEncoding
in interface org.apache.http.entity.mime.content.ContentDescriptor
getTransferEncoding
in class org.apache.http.entity.mime.content.StringBody