public boolean addHttpSession(HttpSession httpSession) { return this.sipApplicationSession.addHttpSession(httpSession); }
/** * A servlet wants to create a sip application * session, we can retrieve its http session in the thread local data * if it has a sip http session (sip servlet only won't have any http sessions) * and associate it with the sip app session. * @param sipApplicationSessionImpl the app session to assocaiate the http session with */ private void associateHttpSession( MobicentsSipApplicationSession sipApplicationSessionImpl) { HttpSession httpSession = threadLocalHttpSession.get(); if(httpSession != null) { sipApplicationSessionImpl.addHttpSession(httpSession); } }
sipApplicationSessionImpl = ((SipManager)context.getManager()).getSipApplicationSession(sipApplicationSessionKey, false); sipApplicationSessionImpl.addHttpSession(request.getSession()); } catch (ParseException pe) { logger.error("Unexpected exception while parsing the sip application session key" + sipApplicationKey, pe);
sipApplicationSession.addHttpSession(httpSession);
sipApplicationSession.addHttpSession(httpSession);
sipApplicationSession.addHttpSession(httpSession);
sipApplicationSession.addHttpSession(httpSession);
sipApplicationSessionImpl = context.getSipManager().getSipApplicationSession(sipApplicationSessionKey, false); sipApplicationSessionImpl.addHttpSession(request.getSession()); } catch (ParseException pe) { logger.error("Unexpected exception while parsing the sip application session key" + sipApplicationKey, pe);
sipApplicationSessionImpl = ((SipManager)context.getManager()).getSipApplicationSession(sipApplicationSessionKey, false); sipApplicationSessionImpl.addHttpSession(request.getSession()); } catch (ParseException pe) { logger.error("Unexpected exception while parsing the sip application session key" + sipApplicationKey, pe);