hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Dever <jsde...@sympatico.ca>
Subject Re: [PATCH] PostMethod & PutMethod revision (take 2)
Date Fri, 31 Jan 2003 06:22:28 GMT
> Do you envision multiple calls to setRequestBody() still causing an 
> IllegalStateException.
On appearances, setRequestBody() looks like a setter method.  I would 
not expect a setter method to throw an exception because I called it 
twice, I would expect it to just overwrite the previous value and be 
done with it.

In our case its a bit more than a setter method, need to deal with 
content length and such, but if it looks like a duck, and quacks like a 
duck, then its a duck.


View raw message