public void addHeaderField(final String name, final String value)
    {
        writer.append(name + ": " + value).append(LINE_FEED);
        writer.flush();
    }
public void addHeaderField ( final String name , final String value ) { writer . append ( name + ": " + value ) . append ( LINE_FEED ) ; writer . flush ( ) ; }
Adds a header field to the request.
@param name - name of the header field
@param value - value of the header field