Interface AsyncEntityProducer
- All Superinterfaces:
AsyncDataProducer, EntityDetails, ResourceHolder
- All Known Implementing Classes:
AbstractBinAsyncEntityProducer, AbstractCharAsyncEntityProducer, AbstractClassicEntityProducer, AsyncEntityProducerWrapper, BasicAsyncEntityProducer, DigestingEntityProducer, FileEntityProducer, PathEntityProducer, ReactiveEntityProducer, StringAsyncEntityProducer
Abstract asynchronous message entity producer.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered to signal a failure in data generation.booleanDetermines whether the producer can consistently produce the same content after invocation ofResourceHolder.releaseResources().Methods inherited from interface AsyncDataProducer
available, produceMethods inherited from interface EntityDetails
getContentEncoding, getContentLength, getContentType, getTrailerNames, isChunkedMethods inherited from interface ResourceHolder
releaseResources
-
Method Details
-
isRepeatable
boolean isRepeatable()Determines whether the producer can consistently produce the same content after invocation ofResourceHolder.releaseResources(). -
failed
Triggered to signal a failure in data generation.- Parameters:
cause- the cause of the failure.
-