> it's work well, but follow line is occur blocking until get response
> code from server.
> int status = client.executeMethod(filePost);
This is not what you seem to think it is.
status is a http response code and is, of course,
is blocking.
Here is a list of response codes if you are interested
http://kbs.cs.tu-berlin.de/~jutta/ht/responses.html
> How to check writing bytes in this modules?
> The bytes are need to represnt progressbar.
One way to do this is shown on this page which
happens to cover performance optimization
http://hc.apache.org/httpclient-3.x/performance.html
In particular I think something like this would work
HttpClient httpclient = new HttpClient();
GetMethod httpget = new GetMethod("http://www.myhost.com/");
try {
httpclient.executeMethod(httpget);
Reader reader = new InputStreamReader(
httpget.getResponseBodyAsStream(),
httpget.getResponseCharSet());
/*get the response byte by byte and update your progress bar
after each response
*/
} finally {
httpget.releaseConnection();
}