- Direct Known Subclasses:
- Enclosing interface:
A simple implementation of
Nested Class Summary
Method SummaryModifier and TypeMethodDescription
<V> Optional<V>Retrieves the associated object following the association with the given “name”.Returns the main channel.Establishes a “named” association to an associated object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associatedGet
DefaultSubchannelCreates a new instance with the given main channel and response pipeline.
mainChannel- the main channel
mainChannelDescription copied from interface:
SubchannelReturns the main channel.
setAssociatedEstablishes a “named” association to an associated object.
Note that anything that represents an id can be used as value for parameter
name, it does not necessarily have to be a string.
associatedRetrieves the associated object following the association with the given “name”.
This general version of the method supports the retrieval of values of arbitrary types associated by any “name” types.