Thanks very much!  But most of the examples as well as the one you
provide are not based on HttpClient. So which version do you used as
the basic lib?
In HttpClient 4.1,  HttpClient is already an interface, so it's
impossible to use
HttpClient client= new HttpClient().
So I tried to use HttpClient 3.1, but then when running the program to
PostMethod  post = new PostMethod().... There is an error NoClassDefFoundError.

So how should I configure the project??  Thanks very much!!!

On 11/19/10, Bertrand Delacretaz <[email protected]> wrote:
> Hi Vic,
>
> On Fri, Nov 19, 2010 at 3:43 AM, Vicary Archangel <[email protected]> wrote:
>> ...The question is how does Sling handle streaming? And can it send binary
>> data
>> directly with pure JavaScript but not template things?...
>
> As Felix said, yes, using the HTTP request/response model.
>
>> In fact I'm seeking the possibility to implement an AMF-HTTP channel in
>> the
>> future.
>
> Where can we find a quick description of AMF-HTTP?
>
> I looked at http://en.wikipedia.org/wiki/Action_Message_Format and
> that seems to imply that the client switches to something else than
> HTTP after the initial request to the gateway URL. That would be
> possible with Sling, but not out of the box.
>
> -Bertrand
>


-- 
Best regards
Li Zhongmiao
Digital Media, College of Computer Science, Zhejiang University

Reply via email to