Matt,
Jersey supports the use of Apache HTTP Client internally.
apidocs:
https://jersey.dev.java.net/nonav/apidocs/1.4/contribs/jersey-apache-client/index.html
Not sure how you set up Apache HTTP client for persistant connections, though.
Jan
On Oct 16, 2010, at 8:38 PM, Matthew Cordes wrote:
> 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