public class ByteArrayHttpEntity extends org.apache.http.entity.ByteArrayEntity implements Entity4
Constructor and Description |
---|
ByteArrayHttpEntity(byte[] barr,
String contentType) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
String |
contentType() |
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toString
public ByteArrayHttpEntity(byte[] barr, String contentType)
public long contentLength()
contentLength
in interface Entity
public String contentType()
contentType
in interface Entity
Copyright © 2015 Lucee