StringEntity

Class of org.apache.http.entity · StringEntity.java

public class StringEntity extends AbstractHttpEntity implements Cloneable

StringEntity ← AbstractHttpEntity

Extended in the framework by

Fields

protected final byte[] content source

Constructors

public StringEntity(String s, String charset) throws UnsupportedEncodingException source
public StringEntity(String s) throws UnsupportedEncodingException source

Methods

public boolean isRepeatable() source
public long getContentLength() source
public InputStream getContent() source
public void writeTo(OutputStream outstream) throws IOException source
public boolean isStreaming() source
public Object clone() throws CloneNotSupportedException source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.