yes , 

    public DefaultHttpDataFactory(long minSize, Charset charset) {
            this(minSize);
            this.charset = charset;
    }
 
is better .