Class RequestContextBase<R extends RequestContext<R>>

java.lang.Object
org.spincast.core.exchange.RequestContextBase<R>
Direct Known Subclasses:
AppRequestContextDefault, AppRequestContextDefault, AppRequestContextDefault, DefaultRequestContextDefault

public abstract class RequestContextBase<R extends RequestContext<R>> extends Object
The base implementation for a request context object.

When you extend this class, don't forget to annotate the constructor with @AssistedInject and the exchange parameter as @Assisted !

We need to inject *providers* for the add-ons because they depend on the request context this class build! {@link https://github.com/google/guice/wiki/CyclicDependencies#break-the-cycle-with-a-provider}