Interface CompletableReader<T>
-
- Type Parameters:
T
- the type returned from aMessageBodyReader
.
public interface CompletableReader<T>
AMessageBodyReader
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.
- Author:
- Paul Sandoz
- See Also:
MessageBodyReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
complete(T t)
Complete the reading.
-