- Type Parameters:
CON
- The type of the connection to be used.
- All Known Subinterfaces:
ConnectionAccessor.ConnectionProperty<CON>
public interface ConnectionAccessor<CON>
Provides an accessor for a connection property for e.g. an
InputStream
or an OutputStream
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Provides a mutator for a connection property for e.g. anInputStream
or anOutputStream
.static interface
Provides a connection property for e.g. anInputStream
or anOutputStream
. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the connection from the connection property.
-
Method Details
-
getConnection
CON getConnection()Retrieves the connection from the connection property.- Returns:
- The connection stored by the connection property.
-