Class UnboundedQueueFeedableBodyGenerator
- java.lang.Object
-
- org.asynchttpclient.request.body.generator.QueueBasedFeedableBodyGenerator<ConcurrentLinkedQueue<BodyChunk>>
-
- org.asynchttpclient.request.body.generator.UnboundedQueueFeedableBodyGenerator
-
- All Implemented Interfaces:
BodyGenerator
,FeedableBodyGenerator
public final class UnboundedQueueFeedableBodyGenerator extends QueueBasedFeedableBodyGenerator<ConcurrentLinkedQueue<BodyChunk>>
-
-
Field Summary
-
Fields inherited from class org.asynchttpclient.request.body.generator.QueueBasedFeedableBodyGenerator
queue
-
-
Constructor Summary
Constructors Constructor Description UnboundedQueueFeedableBodyGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
offer(BodyChunk chunk)
-
Methods inherited from class org.asynchttpclient.request.body.generator.QueueBasedFeedableBodyGenerator
createBody, feed, setListener
-
-
-
-
Method Detail
-
offer
protected boolean offer(BodyChunk chunk)
- Specified by:
offer
in classQueueBasedFeedableBodyGenerator<ConcurrentLinkedQueue<BodyChunk>>
-
-