On 2/11/13 9:57 AM, Joakim Erdfelt wrote:
> In The Draft 012 ..
>
> Session.getRequestURI() returns a URI object.
>
> Which is slightly different than the Servlet API's use of
> HttpServletRequest.getRequestURI()
>
> http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getRequestURI()
> <http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getRequestURI%28%29>
>
> In the Servlet API the HttpServletRequest.getRequestURI() returns a
> String.
> I'm all in favor of changing it to URI in the websocket API. A hearty
> +1 from me on that.
>
> But, the Servlet API also specifically states that the
> HttpServletRequest.getRequestURI() does not return the Query portion
> of the URI.
> Are we expecting that the websocket API Session.getRequestURI() will
> return the query portion? or are we going to follow convention
> elsewhere and return the entire original URI, with query string?'
Let me file an issue on this and bring it - the spec is not clear yet,
Thanks for bringing it up !
- Danny
>
>
> --
> Joakim Erdfelt <joakim_at_intalio.com <mailto:joakim_at_intalio.com>>
> webtide.com <http://www.webtide.com/>
> Developer advice, services and support
> from the Jetty & CometD experts
> eclipse.org/jetty <http://eclipse.org/jetty/> - cometd.org
> <http://cometd.org/>
--
<http://www.oracle.com> *Danny Coward *
Java EE
Oracle Corporation