public HttpSession getSession(String streamID) {
        return sessionMap.get(streamID);
    }
Returns the session related to a stream id.

@param streamID the stream id to retrieve the session.
@return the session related to the provided stream id.
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpSessionManager.java