Class ProxiedSession

  • All Implemented Interfaces:
    Session
    Direct Known Subclasses:
    ImmutableProxiedSession

    public class ProxiedSession
    extends Object
    implements Session
    Simple Session implementation that immediately delegates all corresponding calls to an underlying proxied session instance.

    This class is mostly useful for framework subclassing to intercept certain Session calls and perform additional logic.

    Since:
    0.9
    • Constructor Detail

      • ProxiedSession

        public ProxiedSession​(Session target)
        Constructs an instance that proxies the specified target. Subclasses may access this target via the protected final 'delegate' attribute, i.e. this.delegate.
        Parameters:
        target - the specified target Session to proxy.