Re: How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Mark Thomas
On 24/04/2015 12:25, Thusitha Thilina Dayaratne wrote:
> Hi,
> 
> Could someone tell me how does Tomcat identify the websocket endpoints in
> .war file?
> Does it scan all the classes and looks for annotations?

Yes, as required by the WebSocket 1.1 spec.

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Ganesh Bms
I think, yes. That's why I went for programmatic endpoint.

On Fri, Apr 24, 2015 at 4:55 PM, Thusitha Thilina Dayaratne <
thusithathil...@gmail.com> wrote:

> Hi,
>
> Could someone tell me how does Tomcat identify the websocket endpoints in
> .war file?
> Does it scan all the classes and looks for annotations?
>
> Thanks
> Best Regards
>
> --
>


How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Thusitha Thilina Dayaratne
Hi,

Could someone tell me how does Tomcat identify the websocket endpoints in
.war file?
Does it scan all the classes and looks for annotations?

Thanks
Best Regards

--