Class AsyncLegacyEntityProducer
- java.lang.Object
-
- org.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
- org.spongepowered.gradle.ore.internal.http.AsyncLegacyEntityProducer
-
- All Implemented Interfaces:
org.apache.hc.core5.http.EntityDetails
,org.apache.hc.core5.http.nio.AsyncDataProducer
,org.apache.hc.core5.http.nio.AsyncEntityProducer
,org.apache.hc.core5.http.nio.ResourceHolder
public final class AsyncLegacyEntityProducer extends org.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
-
Constructor Summary
Constructors Constructor Description AsyncLegacyEntityProducer(org.apache.hc.core5.http.HttpEntity entity, java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentEncoding()
protected void
produceData(org.apache.hc.core5.http.ContentType contentType, java.io.OutputStream outputStream)
void
releaseResources()
-
-
-
Method Detail
-
produceData
protected void produceData(org.apache.hc.core5.http.ContentType contentType, java.io.OutputStream outputStream) throws java.io.IOException
- Specified by:
produceData
in classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
- Throws:
java.io.IOException
-
getContentEncoding
public java.lang.String getContentEncoding()
- Specified by:
getContentEncoding
in interfaceorg.apache.hc.core5.http.EntityDetails
- Overrides:
getContentEncoding
in classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
releaseResources
public void releaseResources()
- Specified by:
releaseResources
in interfaceorg.apache.hc.core5.http.nio.ResourceHolder
- Overrides:
releaseResources
in classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
-