wink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Witte <>
Subject Re: FW: Basic Authentication in WINK Client
Date Thu, 01 Oct 2009 17:10:38 GMT
Exactly the way i did the authentication... but i use a ClientHandler because i didn't find
the client.header(..) method. I stumbled upon the handler(..) method by accident.

I don't understand why these method's are not called add<something>(..) eg. addHeader(..).
Wouldn't that be more intuitive and common practise ?
Same for client.contentType etc. Why not client.setContentType(..) ?

Is this for the builder pattern ?

From: Bryant Luk <>
Sent: Thursday, October 1, 2009 3:47:54 PM
Subject: Re: FW: Basic Authentication in WINK Client

Try looking at:
which uses the Apache Wink client that uses basic auth to post to Twitter.

On Thu, Oct 1, 2009 at 8:15 AM, Shukrun, Eytan <> wrote:
> How do I do Basic Authentication in WINK Client


- Bryant Luk

View raw message