users@jersey.java.net

Jersey-client and connection: keep-alive

From: Matthew Cordes <cordes.matthew_at_gmail.com>
Date: Sat, 16 Oct 2010 14:38:38 -0400

Hi guys,

Can someone tell me if the Jersey Client class supports persistent http
connections (using the "Connection: keep-alive" header)? If so, how would I
enable this?

For my usecase I need to send and receive multiple requests/responses via
HTTP over a single connection. I've got it working with Apache's HTTPClient,
but I'd much rather use Jersey Client if I can.

Any thoughts?

-Matt