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.StringgetContentEncoding()protected voidproduceData(org.apache.hc.core5.http.ContentType contentType, java.io.OutputStream outputStream)voidreleaseResources()
-
-
-
Method Detail
-
produceData
protected void produceData(org.apache.hc.core5.http.ContentType contentType, java.io.OutputStream outputStream) throws java.io.IOException- Specified by:
produceDatain classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer- Throws:
java.io.IOException
-
getContentEncoding
public java.lang.String getContentEncoding()
- Specified by:
getContentEncodingin interfaceorg.apache.hc.core5.http.EntityDetails- Overrides:
getContentEncodingin classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
releaseResources
public void releaseResources()
- Specified by:
releaseResourcesin interfaceorg.apache.hc.core5.http.nio.ResourceHolder- Overrides:
releaseResourcesin classorg.apache.hc.core5.http.nio.support.classic.AbstractClassicEntityProducer
-
-