T
- the type of payload objectpublic interface Payload<T> extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
closeQuietly()
Closes the stream and releases state.
|
T |
getRaw()
Gets the raw underlying object for the Payload.
|
InputStream |
open()
Opens and returns the input stream.
|
InputStream open()
void closeQuietly()
T getRaw()
Copyright © 2017. All rights reserved.