test_class.file: webapp/impl/src/test/java/cloud/piranha/webapp/impl/DefaultHttpSessionManagerTest.java
test_class.identifier: DefaultHttpSessionManagerTest
test_case.body: @Test
      void testGetSession() {
          DefaultHttpSessionManager sessionManager = new DefaultHttpSessionManager();
          DefaultWebApplication webApp = new DefaultWebApplication();
          assertThrows(NullPointerException.class, () -> sessionManager.getSession(null, null));
      }
test_case.class_method_signature: DefaultHttpSessionManagerTest.testGetSession()
test_case.full_signature: @Test void testGetSession()
test_case.identifier: testGetSession
test_case.invocations: assertThrows getSession
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetSession()
focal_class.declarator: attributeListeners
focal_class.modifier: protected final
focal_class.original_string: protected final ArrayList<HttpSessionAttributeListener> attributeListeners;
focal_class.type: ArrayList<HttpSessionAttributeListener>
focal_class.var_name: attributeListeners
focal_class.declarator: comment
focal_class.modifier: protected
focal_class.original_string: protected String comment;
focal_class.type: String
focal_class.var_name: comment
focal_class.declarator: defaultSessionTrackingModes
focal_class.modifier: protected final
focal_class.original_string: protected final Set<SessionTrackingMode> defaultSessionTrackingModes;
focal_class.type: Set<SessionTrackingMode>
focal_class.var_name: defaultSessionTrackingModes
focal_class.declarator: domain
focal_class.modifier: protected
focal_class.original_string: protected String domain;
focal_class.type: String
focal_class.var_name: domain
focal_class.declarator: httpOnly
focal_class.modifier: protected
focal_class.original_string: protected boolean httpOnly;
focal_class.type: boolean
focal_class.var_name: httpOnly
focal_class.declarator: idListeners
focal_class.modifier: protected final
focal_class.original_string: protected final ArrayList<HttpSessionIdListener> idListeners;
focal_class.type: ArrayList<HttpSessionIdListener>
focal_class.var_name: idListeners
focal_class.declarator: maxAge
focal_class.modifier: protected
focal_class.original_string: protected int maxAge;
focal_class.type: int
focal_class.var_name: maxAge
focal_class.declarator: name
focal_class.modifier: protected
focal_class.original_string: protected String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: path
focal_class.modifier: protected
focal_class.original_string: protected String path;
focal_class.type: String
focal_class.var_name: path
focal_class.declarator: secure
focal_class.modifier: protected
focal_class.original_string: protected boolean secure;
focal_class.type: boolean
focal_class.var_name: secure
focal_class.declarator: sessionListeners
focal_class.modifier: protected final
focal_class.original_string: protected final ArrayList<HttpSessionListener> sessionListeners;
focal_class.type: ArrayList<HttpSessionListener>
focal_class.var_name: sessionListeners
focal_class.declarator: sessionTimeout
focal_class.modifier: protected
focal_class.original_string: protected int sessionTimeout;
focal_class.type: int
focal_class.var_name: sessionTimeout
focal_class.declarator: sessionTrackingModes
focal_class.modifier: protected
focal_class.original_string: protected Set<SessionTrackingMode> sessionTrackingModes;
focal_class.type: Set<SessionTrackingMode>
focal_class.var_name: sessionTrackingModes
focal_class.declarator: sessions
focal_class.modifier: protected
focal_class.original_string: protected Map<String, HttpSession> sessions;
focal_class.type: Map<String, HttpSession>
focal_class.var_name: sessions
focal_class.declarator: webApplication
focal_class.modifier: protected
focal_class.original_string: protected WebApplication webApplication;
focal_class.type: WebApplication
focal_class.var_name: webApplication
focal_class.file: webapp/impl/src/main/java/cloud/piranha/webapp/impl/DefaultHttpSessionManager.java
focal_class.identifier: DefaultHttpSessionManager
focal_class.interfaces: implements HttpSessionManager, SessionCookieConfig
focal_class.class_method_signature: DefaultHttpSessionManager.DefaultHttpSessionManager()
focal_class.full_signature: public  DefaultHttpSessionManager()
focal_class.identifier: DefaultHttpSessionManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DefaultHttpSessionManager()
focal_class.class_method_signature: DefaultHttpSessionManager.createSession(HttpServletRequest request)
focal_class.full_signature: @Override public synchronized HttpSession createSession(HttpServletRequest request)
focal_class.identifier: createSession
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (HttpServletRequest request)
focal_class.return: HttpSession
focal_class.signature: HttpSession createSession(HttpServletRequest request)
focal_class.class_method_signature: DefaultHttpSessionManager.getSession(HttpServletRequest request, String currentSessionId)
focal_class.full_signature: @Override public HttpSession getSession(HttpServletRequest request, String currentSessionId)
focal_class.identifier: getSession
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request, String currentSessionId)
focal_class.return: HttpSession
focal_class.signature: HttpSession getSession(HttpServletRequest request, String currentSessionId)
focal_class.class_method_signature: DefaultHttpSessionManager.changeSessionId(HttpServletRequest request)
focal_class.full_signature: @Override public String changeSessionId(HttpServletRequest request)
focal_class.identifier: changeSessionId
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request)
focal_class.return: String
focal_class.signature: String changeSessionId(HttpServletRequest request)
focal_class.class_method_signature: DefaultHttpSessionManager.addListener(T listener)
focal_class.full_signature: @Override public void addListener(T listener)
focal_class.identifier: addListener
focal_class.modifiers: @Override public
focal_class.parameters: (T listener)
focal_class.return: void
focal_class.signature: void addListener(T listener)
focal_class.class_method_signature: DefaultHttpSessionManager.attributeAdded(HttpSession session, String name, Object value)
focal_class.full_signature: @Override public void attributeAdded(HttpSession session, String name, Object value)
focal_class.identifier: attributeAdded
focal_class.modifiers: @Override public
focal_class.parameters: (HttpSession session, String name, Object value)
focal_class.return: void
focal_class.signature: void attributeAdded(HttpSession session, String name, Object value)
focal_class.class_method_signature: DefaultHttpSessionManager.attributeReplaced(HttpSession session, String name, Object oldValue, Object newValue)
focal_class.full_signature: @Override public void attributeReplaced(HttpSession session, String name, Object oldValue, Object newValue)
focal_class.identifier: attributeReplaced
focal_class.modifiers: @Override public
focal_class.parameters: (HttpSession session, String name, Object oldValue, Object newValue)
focal_class.return: void
focal_class.signature: void attributeReplaced(HttpSession session, String name, Object oldValue, Object newValue)
focal_class.class_method_signature: DefaultHttpSessionManager.attributeRemoved(HttpSession session, String name, Object value)
focal_class.full_signature: @Override public void attributeRemoved(HttpSession session, String name, Object value)
focal_class.identifier: attributeRemoved
focal_class.modifiers: @Override public
focal_class.parameters: (HttpSession session, String name, Object value)
focal_class.return: void
focal_class.signature: void attributeRemoved(HttpSession session, String name, Object value)
focal_class.class_method_signature: DefaultHttpSessionManager.destroySession(HttpSession session)
focal_class.full_signature: @Override public synchronized void destroySession(HttpSession session)
focal_class.identifier: destroySession
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (HttpSession session)
focal_class.return: void
focal_class.signature: void destroySession(HttpSession session)
focal_class.class_method_signature: DefaultHttpSessionManager.encodeRedirectURL(HttpServletResponse response, String url)
focal_class.full_signature: @Override public String encodeRedirectURL(HttpServletResponse response, String url)
focal_class.identifier: encodeRedirectURL
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletResponse response, String url)
focal_class.return: String
focal_class.signature: String encodeRedirectURL(HttpServletResponse response, String url)
focal_class.class_method_signature: DefaultHttpSessionManager.encodeURL(HttpServletResponse response, String url)
focal_class.full_signature: @Override public String encodeURL(HttpServletResponse response, String url)
focal_class.identifier: encodeURL
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletResponse response, String url)
focal_class.return: String
focal_class.signature: String encodeURL(HttpServletResponse response, String url)
focal_class.class_method_signature: DefaultHttpSessionManager.getComment()
focal_class.full_signature: @Override public String getComment()
focal_class.identifier: getComment
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getComment()
focal_class.class_method_signature: DefaultHttpSessionManager.getDefaultSessionTrackingModes()
focal_class.full_signature: @Override public Set<SessionTrackingMode> getDefaultSessionTrackingModes()
focal_class.identifier: getDefaultSessionTrackingModes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<SessionTrackingMode>
focal_class.signature: Set<SessionTrackingMode> getDefaultSessionTrackingModes()
focal_class.class_method_signature: DefaultHttpSessionManager.getDomain()
focal_class.full_signature: @Override public String getDomain()
focal_class.identifier: getDomain
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDomain()
focal_class.class_method_signature: DefaultHttpSessionManager.getEffectiveSessionTrackingModes()
focal_class.full_signature: @Override public Set<SessionTrackingMode> getEffectiveSessionTrackingModes()
focal_class.identifier: getEffectiveSessionTrackingModes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<SessionTrackingMode>
focal_class.signature: Set<SessionTrackingMode> getEffectiveSessionTrackingModes()
focal_class.class_method_signature: DefaultHttpSessionManager.getMaxAge()
focal_class.full_signature: @Override public int getMaxAge()
focal_class.identifier: getMaxAge
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxAge()
focal_class.class_method_signature: DefaultHttpSessionManager.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: DefaultHttpSessionManager.getPath()
focal_class.full_signature: @Override public String getPath()
focal_class.identifier: getPath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPath()
focal_class.class_method_signature: DefaultHttpSessionManager.getSessionCookieConfig()
focal_class.full_signature: @Override public SessionCookieConfig getSessionCookieConfig()
focal_class.identifier: getSessionCookieConfig
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SessionCookieConfig
focal_class.signature: SessionCookieConfig getSessionCookieConfig()
focal_class.class_method_signature: DefaultHttpSessionManager.getSessionTimeout()
focal_class.full_signature: @Override public int getSessionTimeout()
focal_class.identifier: getSessionTimeout
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSessionTimeout()
focal_class.class_method_signature: DefaultHttpSessionManager.hasSession(String sessionId)
focal_class.full_signature: @Override public boolean hasSession(String sessionId)
focal_class.identifier: hasSession
focal_class.modifiers: @Override public
focal_class.parameters: (String sessionId)
focal_class.return: boolean
focal_class.signature: boolean hasSession(String sessionId)
focal_class.class_method_signature: DefaultHttpSessionManager.isHttpOnly()
focal_class.full_signature: @Override public boolean isHttpOnly()
focal_class.identifier: isHttpOnly
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isHttpOnly()
focal_class.class_method_signature: DefaultHttpSessionManager.isSecure()
focal_class.full_signature: @Override public boolean isSecure()
focal_class.identifier: isSecure
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSecure()
focal_class.class_method_signature: DefaultHttpSessionManager.setComment(String comment)
focal_class.full_signature: @Override public void setComment(String comment)
focal_class.identifier: setComment
focal_class.modifiers: @Override public
focal_class.parameters: (String comment)
focal_class.return: void
focal_class.signature: void setComment(String comment)
focal_class.class_method_signature: DefaultHttpSessionManager.setDomain(String domain)
focal_class.full_signature: @Override public void setDomain(String domain)
focal_class.identifier: setDomain
focal_class.modifiers: @Override public
focal_class.parameters: (String domain)
focal_class.return: void
focal_class.signature: void setDomain(String domain)
focal_class.class_method_signature: DefaultHttpSessionManager.setHttpOnly(boolean httpOnly)
focal_class.full_signature: @Override public void setHttpOnly(boolean httpOnly)
focal_class.identifier: setHttpOnly
focal_class.modifiers: @Override public
focal_class.parameters: (boolean httpOnly)
focal_class.return: void
focal_class.signature: void setHttpOnly(boolean httpOnly)
focal_class.class_method_signature: DefaultHttpSessionManager.setMaxAge(int maxAge)
focal_class.full_signature: @Override public void setMaxAge(int maxAge)
focal_class.identifier: setMaxAge
focal_class.modifiers: @Override public
focal_class.parameters: (int maxAge)
focal_class.return: void
focal_class.signature: void setMaxAge(int maxAge)
focal_class.class_method_signature: DefaultHttpSessionManager.setName(String name)
focal_class.full_signature: @Override public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: DefaultHttpSessionManager.setPath(String path)
focal_class.full_signature: @Override public void setPath(String path)
focal_class.identifier: setPath
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void setPath(String path)
focal_class.class_method_signature: DefaultHttpSessionManager.setSecure(boolean secure)
focal_class.full_signature: @Override public void setSecure(boolean secure)
focal_class.identifier: setSecure
focal_class.modifiers: @Override public
focal_class.parameters: (boolean secure)
focal_class.return: void
focal_class.signature: void setSecure(boolean secure)
focal_class.class_method_signature: DefaultHttpSessionManager.setSessionTimeout(int sessionTimeout)
focal_class.full_signature: @Override public void setSessionTimeout(int sessionTimeout)
focal_class.identifier: setSessionTimeout
focal_class.modifiers: @Override public
focal_class.parameters: (int sessionTimeout)
focal_class.return: void
focal_class.signature: void setSessionTimeout(int sessionTimeout)
focal_class.class_method_signature: DefaultHttpSessionManager.setSessionTrackingModes(Set<SessionTrackingMode> sessionTrackingModes)
focal_class.full_signature: @Override public void setSessionTrackingModes(Set<SessionTrackingMode> sessionTrackingModes)
focal_class.identifier: setSessionTrackingModes
focal_class.modifiers: @Override public
focal_class.parameters: (Set<SessionTrackingMode> sessionTrackingModes)
focal_class.return: void
focal_class.signature: void setSessionTrackingModes(Set<SessionTrackingMode> sessionTrackingModes)
focal_class.class_method_signature: DefaultHttpSessionManager.setWebApplication(WebApplication webApplication)
focal_class.full_signature: @Override public void setWebApplication(WebApplication webApplication)
focal_class.identifier: setWebApplication
focal_class.modifiers: @Override public
focal_class.parameters: (WebApplication webApplication)
focal_class.return: void
focal_class.signature: void setWebApplication(WebApplication webApplication)
focal_method.body: @Override
      public HttpSession getSession(HttpServletRequest request, String currentSessionId) {
          return sessions.get(currentSessionId);
      }
focal_method.class_method_signature: DefaultHttpSessionManager.getSession(HttpServletRequest request, String currentSessionId)
focal_method.full_signature: @Override public HttpSession getSession(HttpServletRequest request, String currentSessionId)
focal_method.identifier: getSession
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (HttpServletRequest request, String currentSessionId)
focal_method.return: HttpSession
focal_method.signature: HttpSession getSession(HttpServletRequest request, String currentSessionId)