Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-31 Thread Bhuvan Gupta
Martin, > > according to the author of Guice 4.0 there are 2 COMPLETELY DIFFERENT > CONFIGURATIONS for WebServlet and WebSocket configurations WebServlet is used for configuring the routes/ scope from guice module. Where as extending ServerEndpointConfig.Configurator is not something Guice

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-30 Thread Bhuvan Gupta
>>>at what point does your websocket class extend org.apache.tomcat. websocket.server.WsFilter I am not extending the o.a.t.w.s.WsFilter at any point , i am using the JSR(356) where i only need to define the @ServerEndPoint. If you look at the 6th observation in

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-30 Thread Mark Thomas
On 30/05/17 16:12, Bhuvan Gupta wrote: > I have added some observation for the issue and observation 5 is interesting > Basically it shows that web.xml filter are registered before WsFilter can > register, which creates a problem > > Please clarify: > >

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-30 Thread Bhuvan Gupta
I have added some observation for the issue and observation 5 is interesting Basically it shows that web.xml filter are registered before WsFilter can register, which creates a problem Please clarify:

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-30 Thread Mark Thomas
This time to the list... On 29/05/17 16:49, Bhuvan Gupta wrote: > Mark, > >>> Explicitly declare Tomcat's WebSocket filter and ensure it is the first > filter in the processing chain. > Can you please give a sample , how to create such filter. > > I looked into the documentation , but cant find

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-29 Thread Bhuvan Gupta
Mark, >>Explicitly declare Tomcat's WebSocket filter and ensure it is the first filter in the processing chain. Can you please give a sample , how to create such filter. I looked into the documentation , but cant find it On Sun, May 28, 2017 at 3:44 PM, Mark Thomas wrote: >

Re: Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-28 Thread Mark Thomas
On 28 May 2017 10:09:03 BST, Bhuvan Gupta wrote: >Hello, > > > >I create a sample webapp using servlets and http, which work fine and >the >web.xml looks like > > >guiceFilter >com.google.inject.servlet.GuiceFilter > >guiceFilter >/* > >Now i want to add few

Considering @serverEndPoint url for routing the request , if the request is of ws:// type

2017-05-28 Thread Bhuvan Gupta
Hello, I create a sample webapp using servlets and http, which work fine and the web.xml looks like guiceFilter com.google.inject.servlet.GuiceFilter guiceFilter /* Now i want to add few @ServerEndPoint class to use websocket. So i added a class and added