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, setContentType
public AudioStreamNHttpEntity(Request maryRequest)
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.