https://issues.apache.org/bugzilla/show_bug.cgi?id=56573

--- Comment #4 from Konstantin Kolinko <[email protected]> ---
HttpServletRequest.getRequestURI():
http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getRequestURI%28%29

Session.getRequestURI()
http://docs.oracle.com/javaee/7/api/javax/websocket/Session.html#getRequestURI%28%29

The WebSocket method is clearly documented to include a query string (as
opposed to HttpServletRequest method). It also returns an URI, not a String.
These are different methods.

Personally, it is not clear to me from WebSocket documentation whether this
method includes a contextPath, not saying about protocol, server name and port.
It is also not clear whether it is "decoded" or non-decoded path (see Servlet
API method), but as it is an URI maybe it does not matter.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to