users@websocket-spec.java.net

[jsr356-users] WebSocketPathParam Usage

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Fri, 16 Nov 2012 10:59:44 -0800

Trying to understand the usage of @WebSocketPathParam.

The WebSocket URI is specified during the connection initialization as:

var websocket = new WebSocket("ws://localhost:8080/helloworld/echo");

When and how a variable part of the URI can be sent from the "client" so
that it can be mapped appropriately on the "server" using
@WebSocketPathParam ?

Thanks,
Arun

-- 
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta