users@jersey.java.net

[Jersey] Re: GrizzlyWebContainerFactory.create() should accept host

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Wed, 07 Dec 2011 17:22:19 +0100

Hi Subin,

sure, we can do that. Can you please file new issue about this on our JIRA?

(and please don't send emails to issues_at_jersey.java.net alias, it's
meant for different purpose (automated messages from issue tracker).

Regards,
Pavel

On 11/30/11 5:29 PM, subin.mdl_at_gmail.com wrote:
> Hi
>
> The com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory
> class has a create method which is used to create a threadselector.
>
> threadSelector =
> GrizzlyWebContainerFactory.create("http://192.168.1.1:8080/",
> initParams);
>
> I hope that the create method creates a threadSelector for a specific
> host and port.
> Currently it only creates for localhost.
> I have already raised a issue for grizzly
> http://java.net/jira/browse/GRIZZLY-1042
>
> I hope jersey also makes this improvement.
>
> The changes should happen in the following method
> public static SelectorThread create(URI u, Adapter adapter)
> Where we create the selectorThread
>
> Many Thanks
> Subin
>