public interface AsyncEntityProducer extends AsyncDataProducer, EntityDetails
| Modifier and Type | Method and Description |
|---|---|
void |
failed(Exception cause)
Triggered to signal a failure in data generation.
|
boolean |
isRepeatable()
Determines whether the producer can consistently produce the same content
after invocation of
ResourceHolder.releaseResources(). |
available, producereleaseResourcesgetContentEncoding, getContentLength, getContentType, getTrailerNames, isChunkedboolean isRepeatable()
ResourceHolder.releaseResources().void failed(Exception cause)
cause - the cause of the failure.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.