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, produce
releaseResources
getContentEncoding, getContentLength, getContentType, getTrailerNames, isChunked
boolean isRepeatable()
ResourceHolder.releaseResources()
.void failed(Exception cause)
cause
- the cause of the failure.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.