T - The type of payload body.public interface HttpMessageBodyIterator<T>
extends BlockingIterator<T>
| Modifier and Type | Method and Description |
|---|---|
HttpHeaders |
trailers()
Get the trailers associated with this message
body.
|
@Nullable HttpHeaders trailers()
null until this BlockingIterator has been completely consumed and
Iterator.hasNext() returns false. Even after consumption this method may still return null if
there are no trailers.null until this BlockingIterator has been completely consumed and
Iterator.hasNext() returns false. Even after consumption this method may still return null if
there are no trailers.