public interface AsyncEntityProducer extends AsyncDataProducer, EntityDetails
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.