Package org.glassfish.grizzly.streams
Interface Stream
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
StreamReader,StreamWriter
- All Known Implementing Classes:
AbstractStreamReader,AbstractStreamWriter,DefaultStreamReader,DefaultStreamWriter,SSLStreamReader,SSLStreamWriter,TransformerStreamReader,TransformerStreamWriter
public interface Stream extends Closeable
Common interface for Stream readers and writers.- Author:
- Alexey Stashok
- See Also:
StreamReader,StreamWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectiongetConnection()Get theConnectionthis StreamReader belongs to.
-
-
-
Method Detail
-
getConnection
Connection getConnection()
Get theConnectionthis StreamReader belongs to.- Returns:
- the
Connectionthis StreamReader belongs to.
-
-