- 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvides a mutator for a connection property for e.g. anInputStreamor anOutputStream.static interfaceProvides a connection property for e.g. anInputStreamor 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.
-