public interface ResponseContent
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
The method closesthe corresponding property of the class e.g.
|
void |
write(java.io.OutputStream outputStream)
The method writes the content of the corresponding property of the class e.g.
|
void write(java.io.OutputStream outputStream) throws java.io.IOException
outputStream
- an OutputStream object that will contain the newly added streamjava.io.IOException
- if an error occurs while writing the streamvoid close()
close
in interface java.lang.AutoCloseable