Author: markt Date: Fri Oct 12 12:39:50 2012 New Revision: 1397543 URL: http://svn.apache.org/viewvc?rev=1397543&view=rev Log: Add some Javadoc for clarification as this is non-obvious.
Modified: tomcat/trunk/java/javax/net/websocket/HandshakeRequest.java Modified: tomcat/trunk/java/javax/net/websocket/HandshakeRequest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/net/websocket/HandshakeRequest.java?rev=1397543&r1=1397542&r2=1397543&view=diff ============================================================================== --- tomcat/trunk/java/javax/net/websocket/HandshakeRequest.java (original) +++ tomcat/trunk/java/javax/net/websocket/HandshakeRequest.java Fri Oct 12 12:39:50 2012 @@ -31,6 +31,10 @@ public interface HandshakeRequest { boolean isUserInRole(String role); + /** + * Get the HTTP Session object associated with this request. Object is used + * to avoid a direct dependency on the Servlet API. + */ Object getSession(); Map<String, String[]> getParameterMap(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org