Top Description Methods
org.glassfish.grizzly.streams

public Interface Stream

extends Closeable
Known Direct Subinterfaces
org.glassfish.grizzly.streams.StreamReader, org.glassfish.grizzly.streams.StreamWriter
Imports
java.io.Closeable, org.glassfish.grizzly.Connection

Common interface for Stream readers and writers.
Author
Alexey Stashok
See Also
StreamReader, StreamWriter

Method Summary

Modifier and TypeMethod and Description
public Connection<L>

Returns:

the Connection this StreamReader belongs to.
getConnection
()

Get the Connection this StreamReader belongs to.

Inherited from java.io.Closeable:
close

Method Detail

getConnectionback to summary
public Connection<L> getConnection()

Get the Connection this StreamReader belongs to.

Returns:Connection<L>

the Connection this StreamReader belongs to.