@FunctionalInterface public interface ResultContentConsumer
Modifier and Type | Method | Description |
---|---|---|
void |
consume(RawResult result,
InputStream content) |
Consume the content stream associated with the given result.
|
void consume(RawResult result, InputStream content)
Important: The content stream should be assumed to be valid only within this method; users should not interact with the stream after returning control.
result
- The result of the operation.content
- The content stream of the result.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.