public final class StreamEntityProducer extends Object implements org.apache.hc.core5.http.nio.AsyncEntityProducer
| 构造器和说明 |
|---|
StreamEntityProducer(InputStream inputstream) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available() |
void |
failed(Exception e) |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
Set<String> |
getTrailerNames() |
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
produce(org.apache.hc.core5.http.nio.DataStreamChannel dataStreamChannel) |
void |
releaseResources() |
public StreamEntityProducer(InputStream inputstream)
public boolean isRepeatable()
isRepeatable 在接口中 org.apache.hc.core5.http.nio.AsyncEntityProducerpublic void failed(Exception e)
failed 在接口中 org.apache.hc.core5.http.nio.AsyncEntityProducerpublic long getContentLength()
getContentLength 在接口中 org.apache.hc.core5.http.EntityDetailspublic String getContentType()
getContentType 在接口中 org.apache.hc.core5.http.EntityDetailspublic String getContentEncoding()
getContentEncoding 在接口中 org.apache.hc.core5.http.EntityDetailspublic boolean isChunked()
isChunked 在接口中 org.apache.hc.core5.http.EntityDetailspublic Set<String> getTrailerNames()
getTrailerNames 在接口中 org.apache.hc.core5.http.EntityDetailspublic int available()
available 在接口中 org.apache.hc.core5.http.nio.AsyncDataProducerpublic void produce(org.apache.hc.core5.http.nio.DataStreamChannel dataStreamChannel)
throws IOException
produce 在接口中 org.apache.hc.core5.http.nio.AsyncDataProducerIOExceptionpublic void releaseResources()
releaseResources 在接口中 org.apache.hc.core5.http.nio.ResourceHolderCopyright © 2023. All rights reserved.