/** * @return the HTTP session object associated with this {@link Thread} */ public static HttpSession getHttpSession() { final QueueSession qs = getQueueSession(); if (qs == null) { return null; } return qs.getAttribute(HttpSession.class, HttpSession.class.getName()); }
/** * @return the HTTP session object associated with this {@link Thread} */ public static HttpSession getHttpSession() { final QueueSession qs = getQueueSession(); if (qs == null) { return null; } return qs.getAttribute(HttpSession.class, HttpSession.class.getName()); }
private String getSessionId() { return (getMessage() != null && getQueueSession() != null ? getQueueSession().getSessionId() : null); } }
private String getSessionId() { return (getMessage() != null && getQueueSession() != null ? getQueueSession().getSessionId() : null); } }