Same szenario on the AddHeader mailet.

bye
Norman

Am Montag, den 29.05.2006, 12:08 +0200 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > Hi guys,
> > 
> > when working on junit test for AddHeaderHandler i notice that the
> > AddHeaderHandler use setHeader(String name, String value); . So it not
> > add a header, it set a header. This is not what i espected when i read
> > the Handlername.
> > 
> > So for me are 2 solutions:
> > 
> > 1. Rename the AddHeaderHandler to SetHeaderHandler
> 
> +1
> 
> > 2. use addHeader(String name, String value) instand of setHeader(String
> > name, String value)
> 
> > i prefer the first. What the you think ?
> 
> So do I: The most common usage is replacing/setting headers. Almost no 
> one use multiple header values.
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> !EXCUBATOR:1,447ac9d937021103920588!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to