| Constructor and Description |
|---|
AudioStreamNHttpEntity(Request maryRequest) |
| 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 |
run()
Wait for the SharedOutputBuffer to become available, write audio data to it.
|
void |
writeTo(OutputStream outstream) |
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentTypepublic AudioStreamNHttpEntity(Request maryRequest)
public 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.