httpservices/src/main/java/ucar/httpservices/HTTPFormBuilder.java
public HTTPFormBuilder
    add(String fieldname, String text)
            throws HTTPException
    {
        if(fieldname == null || text == null || fieldname.length() == 0)
            throw new IllegalArgumentException();
        Field f = new Field(Sort.TEXT, fieldname, text, null);
        parts.put(fieldname, f);
	return this;
    }
public HTTPFormBuilder
    add(String fieldname, String text)
            throws HTTPException
    {
        if(fieldname == null || text == null || fieldname.length() == 0)
            throw new IllegalArgumentException();
        Field f = new Field(Sort.TEXT, fieldname, text, null);
        parts.put(fieldname, f);
	return this;
    }
public HTTPFormBuilder add ( String fieldname , String text ) throws HTTPException { if ( fieldname == null || text == null || fieldname . length ( ) == 0 ) throw new IllegalArgumentException ( ) ; Field f = new Field ( Sort . TEXT , fieldname , text , null ) ; parts . put ( fieldname , f ) ; return this ; }
Field construction
Field construction