hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Upload a file through an HTTP form, via MultipartEntityBuilder, with a progress bar
Date Fri, 04 Oct 2013 14:49:20 GMT
You do not need to get inside of #create. Just decorate the instance you get from #build. HttpEntity
is an interface and lends itself well to the proxy or decorator pattern.

Oleg


Phlip <phlip2005@gmail.com> wrote:
>> You need to decorate the resultant HttpEntity
>
>If we're using MultipartEntityBuilder, how do I get inside .create()
>to change the builder to a derived type?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message