Added more information to the urlbuilder.

@param urlBuilder an urlbuilder.
@param name the name of the attribute.
@param value the value.
551426
private void addEncodedValue(final StringBuilder urlBuilder,
            final String name, String value) {
        if (value != null) {
            String encodedValue;
            if (!"to".equals(name) && !urlBuilder.toString().endsWith("?")) {
                urlBuilder.append('&');
            }
            try {
                encodedValue =
                        URLEncoder.encode(value, "utf-8").replace("+", "%20");
            } catch (UnsupportedEncodingException e) {
                LOG.error("UTF-8 encoding not supported during encoding "
                        + value, e);
                encodedValue = value;
            }
            if (!"to".equals(name)) {
                urlBuilder.append(name).append('=');
            }
            urlBuilder.append(encodedValue);
        }
    }
246412
@Override
	public void setAttribute(String name, Object value) {
		attributesSupport.setAttribute(name, value);
	}
271535
public void setAttribute(String name, Object value)
  {
    if (_stream != null) {
      _stream.setAttribute(name, value);
    }
  }
893195
public void add(final String name, final String value) {
    ArrayList<String> values = super.get(name);
    if (values == null) {
      values = new ArrayList<String>(1);  // Often there's only 1 value.
      super.put(name, values);
    }
    values.add(value);
  }
1033435
@Override
    public void addHeader(String name, String value) {
        this.message.appendHeader(name, value);
    }
121420
public void appendAttribute(final String name, final int value) {
		write(' ');
		write(name);
		write("=\"");
		write(String.valueOf(value));
		write('"');
	}
1186051
public void addHeader(String name, String value) {
	headers = ReqRspUtil.add(headers, name, value);
    }
122911
public XMLAttributeList addAttribute(@Nonnull String name, @Nonnull String value) {
        if (name == null) {
            throw new NullPointerException("name must be nonnull");
        }
        if (value == null) {
            throw new NullPointerException("value must be nonnull");
        }
        nameValuePairList.add(new NameValuePair(name, value));
        return this;
    }
329314
public void addInitParameter(String name, String value) {
		Assert.notNull(name, "Name must not be null");
		this.initParameters.put(name, value);
	}
246817
public void addHeader(String name, String value) {
		if(logger.isDebugEnabled()) {
			logger.debug("addHeader - name=" + name + ", value=" + value);
		}

		checkCommitted();
		addHeaderInternal(name, value, false);
	}
376452
public void put(String name, String value) {
        if (value == null)
            remove(name);
        else
            put(new HttpField(name, value));
    }
107664
public SystemInputDefBuilder has( String name, Object value)
    {
    systemInputDef_.setAnnotation( name, Objects.toString( value, null));
    return this;
    }
754818
public void setImageUrlAttribute(String name, String value) {
		ensureAttributes();
		Attribute attribute = new ImageUrlAttribute(value);
		attribute.setEditable(isEditable(name));
		getAllAttributes().put(name, attribute);

	}
1236368
private void renderAttribute(InternalStringBuilder buf, String name, String value)
    {
        assert (name != null);
        if (value == null)
            return;

        buf.append(" ");
        buf.append(name);
        buf.append("=\"");
        buf.append(value);
        buf.append("\"");
    }
966967
public void changeAttribute (String name, Object value)
    {
        Accessor acc = getAccessor(name);
        requestAttributeChange(name, value, acc.get(this));
        acc.set(this, value);
    }
1001646
public HttpRequestBuilder addHeader(String name, String value) {
    if (value != null) {
      reqHeaders.put(name, value);
    }
    return this;
  }
957374
public final void setParameter(String name, Object value) {
        if (isNative()) {
            bindParameters.add(new BindParameter(name, value));
        } else {
            setParameterValue(":" + name, value);
        }

        parametersMap.put(":" + name, value);
    }