Store/Override a control parameter.

@param name the name of the control parameter.
@param value the stringified version what it should be set to.
@return the {@link DcpControl} instance for chainability.
549982
public DcpControl put(final Names name, final String value) {
    // Provide a default NOOP interval because the client needs
    // to know the interval in order to detect dead connections.
    if (name == Names.ENABLE_NOOP && get(Names.SET_NOOP_INTERVAL) == null) {
      put(Names.SET_NOOP_INTERVAL, Integer.toString(DEFAULT_NOOP_INTERVAL_SECONDS));
    }

    values.put(name.value(), value);
    return this;
  }
1280224
public void setVariable(String name, Object value) {
        if (variables == null)
            variables = new LinkedHashMap();
        variables.put(name, value);
    }
684914
public void setHeader(String name, Object value) {
    verifyType(name, value);
    if (value != null) {
      // Modify header if necessary
      if (!ObjectUtils.nullSafeEquals(value, getHeader(name))) {
        this.modified = true;
        this.headers.put(name, value);
      }
    } else {
      // Remove header if available
      if (this.headers.containsKey(name)) {
        this.modified = true;
        this.headers.remove(name);
      }
    }
  }
839508
public TemplateBuilder parameter(String name, String value) {
	    action.getParameter().put(name, value);
		return this;
	}
567910
public T header(String name, String value) {
		return header(name, value, true);
	}
906010
public Node attribute(final String name, final String value) {
        this.attributes.put(name, value);
        return this;
    }
1374889
public void set(String name, String value) {
		HttpHeader header = get(name);
		if(header == null) {
			add(name,value);
		} else {
			header.setValue(value);
		}
	}
453010
public OpenShiftAssistantTemplate parameter(String name, String value) {
        parameterValues.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);
    }
967238
public void setField(String name, List value)
    {
        if (_state!=__MSG_EDITABLE)
            return;
        _header.put(name,value);
    }
180477
public void setValueFor(Object value, String name) {
        getMapHelper().setValueForIn(value, name, getCurrentValues());
    }
736694
public DynamicReportBuilder setProperty(String name, String value) {
        this.report.setProperty(name, value);
        return this;
    }
801229
private void setParameterValue(String name, Object value) {
        if (typedParameter != null) {
            List<FilterClause> clauses =
                typedParameter.getParameters() != null ? typedParameter.getParameters().get(name) : null;
            if (clauses != null) {
                for (FilterClause clause : clauses) {
                    clause.setValue(value);
                }
            } else {
                if (typedParameter.getUpdateParameters() != null) {
                    UpdateClause updateClause = typedParameter.getUpdateParameters().get(name);
                    updateClause.setValue(value);
                } else {
                    logger.error("Error while setting parameter.");
                    throw new QueryHandlerException("named parameter : " + name + " not found!");
                }
            }
        } else {
            throw new QueryHandlerException("No named parameter present for query");
        }
    }
652899
public RequestBuilder<T,ID> setParameter(String name,String value)
    {
        parameters.set(name, value);
        return this;
    }
1366500
public T header(Header name, String value) {
		return header(name.toString(), value, true);
	}
730642
public FeatureState setParameter(String name, String value) {
        if (value != null) {
            this.parameters.put(name, value);
        }
        else {
            this.parameters.remove(name);
        }
        return this;
    }
350858
public Query<T> setParameter(String name, Object value) {
        return query().setParameter(name, value);
    }