public class TestProducingNHttpEntity
extends org.apache.http.entity.AbstractHttpEntity
implements org.apache.http.nio.entity.ProducingNHttpEntity
| Constructor and Description |
|---|
TestProducingNHttpEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
produceContent(org.apache.http.nio.ContentEncoder encoder,
org.apache.http.nio.IOControl ioctrl) |
void |
writeTo(OutputStream outstream) |
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentTypepublic void finish()
finish in interface org.apache.http.nio.entity.ProducingNHttpEntitypublic void produceContent(org.apache.http.nio.ContentEncoder encoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
produceContent in interface org.apache.http.nio.entity.ProducingNHttpEntityIOExceptionpublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitypublic boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntitypublic boolean isStreaming()
isStreaming in interface org.apache.http.HttpEntitypublic InputStream getContent()
getContent in interface org.apache.http.HttpEntitypublic void writeTo(OutputStream outstream) throws IOException
writeTo in interface org.apache.http.HttpEntityIOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.