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, setContentType
public void finish()
finish
in interface org.apache.http.nio.entity.ProducingNHttpEntity
public void produceContent(org.apache.http.nio.ContentEncoder encoder, org.apache.http.nio.IOControl ioctrl) throws IOException
produceContent
in interface org.apache.http.nio.entity.ProducingNHttpEntity
IOException
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
public InputStream getContent()
getContent
in interface org.apache.http.HttpEntity
public void writeTo(OutputStream outstream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
IOException
Copyright © 2000–2016 DFKI GmbH. All rights reserved.