public class ByteArrayOSRequestEntity extends org.apache.http.entity.BasicHttpEntity
Constructor and Description |
---|
ByteArrayOSRequestEntity(OutputStream os)
Constructor for ByteArrayOSRequestEntity.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream out) |
getContent, setContent, setContentLength
public ByteArrayOSRequestEntity(OutputStream os)
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.BasicHttpEntity
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
getContentType
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
isRepeatable
in class org.apache.http.entity.BasicHttpEntity
public void writeTo(OutputStream out) throws IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.BasicHttpEntity
IOException
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
isStreaming
in class org.apache.http.entity.BasicHttpEntity
Copyright © 2012–2015 Microsoft. All rights reserved.