[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: Connection timed out - proxy already set... ?
From:       Roland Weber <http-async () dubioso ! net>
Date:       2006-10-10 17:02:37
Message-ID: 452BD22D.9070406 () dubioso ! net
[Download RAW message or body]

Hi Jeff,

Jeffrey Porter wrote:
> Roland I could kiss ya!
> 
> Well I'll reserve judgment till me meet.

So do I :-)

> client.executeMethod(formPost.getHostConfiguration(), formPost, state);
> 
> Can I replace it with this?
> 
> client.executeMethod(client.getHostConfiguration(), formPost, state);

You can actually replace it with this:

client.executeMethod(null, formPost, state);

The JavaDocs leave room for improvement there.


cheers,
  Roland

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic