Class SelfServiceContext

  • All Implemented Interfaces:
    Context

    public final class SelfServiceContext
    extends AbstractContext
    A Context that indicates the request came from Self-Service.
    Since:
    0.2.0
    • Constructor Detail

      • SelfServiceContext

        public SelfServiceContext​(Context parent)
        Constructs a new SelfServiceContext.
        Parameters:
        parent - The parent context.
      • SelfServiceContext

        public SelfServiceContext​(JsonValue savedContext,
                                  ClassLoader classLoader)
        Constructs a new SelfServiceContext.
        Parameters:
        savedContext - The JSON representation from which this context's attributes should be parsed.
        classLoader - The ClassLoader which can properly resolve the persisted class-name.