You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/12/12 10:13:10 UTC
[Bug 60466] New: WsHandshakeRequest getHttpSession() returns null
https://bz.apache.org/bugzilla/show_bug.cgi?id=60466
Bug ID: 60466
Summary: WsHandshakeRequest getHttpSession() returns null
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: WebSocket
Assignee: dev@tomcat.apache.org
Reporter: hzhang1978@gmail.com
Target Milestone: ----
private final Object httpSession;
public WsHandshakeRequest() {
// The final object httpSession can be always null. Why not calling
// getSession(true) or at least provide a way to do it.
httpSession = request.getSession(false);
}
@Override
public Object getHttpSession() {
return httpSession;
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 60466] WsHandshakeRequest getHttpSession() returns null
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60466
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
OS| |All
Status|NEW |RESOLVED
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This is by design and in accordance with the JSR-356 specification.
Feature requests for the Java API for WebSocket should be directed to the
JSR-356 expert group.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org