public class BasicAsyncEntityProducer extends Object implements org.apache.hc.core5.http.nio.AsyncEntityProducer
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
failed(Exception cause) |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
Set<String> |
getTrailerNames() |
boolean |
isChunked() |
void |
produce(org.apache.hc.core5.http.nio.DataStreamChannel channel) |
void |
releaseResources() |
public void releaseResources()
releaseResources in interface org.apache.hc.core5.http.nio.ResourceHolderpublic void failed(Exception cause)
failed in interface org.apache.hc.core5.http.nio.AsyncEntityProducerpublic long getContentLength()
getContentLength in interface org.apache.hc.core5.http.EntityDetailspublic String getContentType()
getContentType in interface org.apache.hc.core5.http.EntityDetailspublic String getContentEncoding()
getContentEncoding in interface org.apache.hc.core5.http.EntityDetailspublic boolean isChunked()
isChunked in interface org.apache.hc.core5.http.EntityDetailspublic Set<String> getTrailerNames()
getTrailerNames in interface org.apache.hc.core5.http.EntityDetailspublic int available()
available in interface org.apache.hc.core5.http.nio.AsyncDataProducerpublic void produce(org.apache.hc.core5.http.nio.DataStreamChannel channel)
throws IOException
produce in interface org.apache.hc.core5.http.nio.AsyncDataProducerIOExceptionCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.