public final void setContextualValue(Scope scope, Object key, Scoped value) { if (value == null) { ScopedContext context = bridge.getScopedContext(scope, false); if (context != null) { context.set(key, null); } } else { bridge.getScopedContext(scope, true).set(key, value); } }
public final Scoped getContextualValue(Scope scope, Object key) { ScopedContext context = bridge.getScopedContext(scope, false); return context != null ? context.get(key) : null; }
public RunMode getRunMode() { return bridge.getRunMode(); }
public void invalidate() { session.close(); session = new ServletScopedContext(Logger.SYSTEM); }
public Map<String, ResponseParameter> getParameters() { return bridge.getParameters(); }
public MethodHandle getTarget() { return delegate.bridge.getTarget(); }
public ClientContext getClientContext() { return bridge.getClientContext(); }
public UserContext getUserContext() { return getBridge().getUserContext(); }
public final void setContextualValue(Scope scope, Object key, Scoped value) { if (value == null) { ScopedContext context = bridge.getScopedContext(scope, false); if (context != null) { context.set(key, null); } } else { bridge.getScopedContext(scope, true).set(key, value); } }
public final Scoped getContextualValue(Scope scope, Object key) { ScopedContext context = bridge.getScopedContext(scope, false); return context != null ? context.get(key) : null; }
public Map<String, ResponseParameter> getParameters() { return bridge.getParameters(); }
public RunMode getRunMode() { return bridge.getRunMode(); }
public MethodHandle getTarget() { return delegate.bridge.getTarget(); }
public ClientContext getClientContext() { return bridge.getClientContext(); }
public Dispatch setParameter(String name, String value) throws NullPointerException { ResponseParameter.create(name, value).addTo(bridge.getParameters()); return this; }
public Dispatch setParameter(String name, String[] value) throws NullPointerException, IllegalArgumentException { ResponseParameter.create(name, value).addTo(bridge.getParameters()); return this; }
public Dispatch setParameter(Encoding encoding, String name, String[] value) throws NullPointerException { ResponseParameter.create(encoding, name, value).addTo(bridge.getParameters()); return this; }
public Dispatch setParameter(String name, String value) throws NullPointerException { ResponseParameter.create(name, value).addTo(bridge.getParameters()); return this; }
public Dispatch setParameter(Encoding encoding, String name, String[] value) throws NullPointerException { ResponseParameter.create(encoding, name, value).addTo(bridge.getParameters()); return this; }
public Dispatch setParameter(Encoding encoding, String name, String value) throws NullPointerException { ResponseParameter.create(encoding, name, value).addTo(bridge.getParameters()); return this; }