users@jersey.java.net

[Jersey] Re: Client Socket Usage

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Tue, 6 Jan 2015 11:13:25 +0100

Hi Robert,

I apologize for delayed response.

Your question is quite a low-level as well as a bit vague.
I think it would be the best to check out the appropriate source code:

https://github.com/jersey/jersey/tree/master/core-client <https://github.com/jersey/jersey/tree/master/core-client>
https://github.com/jersey/jersey/tree/master/connectors <https://github.com/jersey/jersey/tree/master/connectors>

HTH,

~Jakub


> On 31 Dec 2014, at 20:56, Robert DiFalco <robert.difalco_at_gmail.com> wrote:
>
> Anyone there?
>
> On Tue, Dec 30, 2014 at 10:35 AM, Robert DiFalco <robert.difalco_at_gmail.com <mailto:robert.difalco_at_gmail.com>> wrote:
> Is there somewhere in the docs where I can learn about how Clients use Sockets? I'm writing a little library to send notifications to Google Cloud Messaging. Many will be sent.
>
> Just to make sure everything is tip-top I'd like to know how the Jersey client makes decisions on when to create, open, pool, reuse, etc. socket connections.
>
>
> Thanks!
>