https://issues.apache.org/bugzilla/show_bug.cgi?id=54724
--- Comment #2 from Nick Williams <nicho...@nicholaswilliams.net> --- Want to make sure we agree on approach, which is slightly more detailed than the JavaDoc spec: 1. ALL WsSession methods specified by the Session interface will throw IllegalStateException if the session is closed EXCEPT: - close() is a no-op if the session is already closed and will not throw an exception - close(CloseReason) is a no-op if the session is already closed and will not throw an exception - getId() returns an informational String that may not otherwise be acted upon, but may be useful for logging/troubleshooting/tracking after session close. - isOpen() tests whether the socket is open or not and should never throw an exception, but instead return true or false. 2. ALL public, protected, and private WsSession methods NOT specified in the Session interface will NOT throw an IllegalStateException if the session is closed. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org