T
- the type returned from a MessageBodyReader
.public interface CompletableReader<T>
MessageBodyReader
may implement this interface to signal that
reading from the underlying input stream can be fully completed.
This is useful in scenarios where an instance of the type will be processed after the input stream, from which it was read, has been closed.
MessageBodyReader
Modifier and Type | Method and Description |
---|---|
T |
complete(T t)
Complete the reading.
|
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.