Add object to a session.
@param name name of object
@param value object reference.
761720
public Object put(String name, Serializable value){
        Object val = RequestContext.getHttpRequest().getSession(true).getAttribute(name);
        RequestContext.getHttpRequest().getSession(true).setAttribute(name, value);
        return val;
    }
315085
public void setProperty(String name, String value)
    {
        if ((value == null) || (value.length() == 0))
        {
            _properties.remove(name);
        }
        else
        {
            _properties.setProperty(name, value);
        }
    }
206975
private void addNewChild(String name, Object value) {
        IntrospectionLevelMember prospectiveMember = new IntrospectionLevelMember(_level + 1, name, makeDescription(value), makeMember(value), _allKnownMembersInThisTree);
        if (makeMember(value) != null) {
            // OK, we'd like to introspect the object further - have we seen it?
            if (_allKnownMembersInThisTree.contains(prospectiveMember)) {
                // Already seen it, so ensure we don't reexamine it
                prospectiveMember = new IntrospectionLevelMember(_level + 1, name, makeDescription(value), null, _allKnownMembersInThisTree);
            } else {
                // Ensure we don't reexamine it if we see it again!
                _allKnownMembersInThisTree.add(prospectiveMember);
            }
        }
        _children.add(prospectiveMember);
    }
1142357
public void add(String name, JsonBuffer value) {
		if (value != null && value != this && !value.isEmpty()) {
			this.content.put(name, value);
		}
	}
430100
protected void header(String name, String value){
        RequestContext.getHttpResponse().addHeader(name, value);
    }
931116
public DatabaseConnectionRequest<T, U> addParameter(String name, Object value) {
        request.addParameter(name, value);
        return this;
    }
482223
public void put(String name, Scriptable start, Object value) {
        if (start == this) {
            synchronized (this) {
                if (isEmpty(name)) {
                    indexedProps.put(name, value);
                } else {
                    synchronized (context) {
                        int scope = context.getAttributesScope(name);
                        if (scope == -1) {
                            scope = ScriptContext.ENGINE_SCOPE;
                        }
                        context.setAttribute(name, jsToJava(value), scope);
                    }
                }
            }
        } else {
            start.put(name, start, value);
        }
    }
21567
public void addNamedQueryParameter(String name, Object value) {
        parameters.put(checkNotNull(name), checkNotNull(value));
    }
887141
public function setSessionItem(string $name, $value): void
    {
        $this->sessionItems->set($name, $value);
    }
802507
public ToStringHelper add(String name, Object value) {
    checkNotNull(name);
    addHolder(value).builder.append(name).append('=').append(value);
    return this;
  }
938020
public QueryParameterWrap addParameter(String name, Object value) {
		this.namedParameter.put(name, value);
		return this;
	}
632834
public synchronized void setValue(String name, String value) {
        if (map == null) {
            map = new HashMap<String,String>();
        }
        map.put(name, value);
    }
1289505
public void addAttribute(String name, String value) {
        checkType(name, String.class);
        attributes.put(name, value);
    }
1045081
public void add(String name, String value) {
        if (value == null)
            return;

        HttpField field = new HttpField(name, value);
        add(field);
    }
180477
public void setValueFor(Object value, String name) {
        getMapHelper().setValueForIn(value, name, getCurrentValues());
    }
1280224
public void setVariable(String name, Object value) {
        if (variables == null)
            variables = new LinkedHashMap();
        variables.put(name, value);
    }
297058
protected void flash(String name, String value) {
        /*if (session().get(Context.FLASH_SESSION_KEYWORD) == null) {
            session().put(Context.FLASH_SESSION_KEYWORD, new HashMap<String, Object>());
        }
        ((Map<String, Object>) session().get(Context.FLASH_SESSION_KEYWORD)).put(name, value);*/
        //context.setFlash(name, value);
        context.getFlash().put(name, value);
    }