MCPcopy Index your code
hub / github.com/apache/tomcat / getAttribute

Method getAttribute

java/jakarta/servlet/http/HttpSession.java:137–137  ·  view source on GitHub ↗

Returns the object bound with the specified name in this session, or null if no object is bound under the name. @param name a string specifying the name of the object @return the object with the specified name @exception IllegalStateException if this method is called on an invalidate

(String name)

Source from the content-addressed store, hash-verified

135 * @exception IllegalStateException if this method is called on an invalidated session
136 */
137 Object getAttribute(String name);
138
139 /**
140 * Returns an <code>Enumeration</code> of <code>String</code> objects containing the names of all the objects bound

Callers 15

doGetMethod · 0.95
doGetMethod · 0.95
serviceMethod · 0.95
addElementMethod · 0.95
addElementMethod · 0.95
guessUserFromSessionMethod · 0.95
getAttributeMethod · 0.95
getUserPrincipalMethod · 0.65
doGetMethod · 0.65
serviceMethod · 0.65

Implementers 2

StandardSessionFacadejava/org/apache/catalina/session/Stand
StandardSessionjava/org/apache/catalina/session/Stand

Calls

no outgoing calls

Tested by 15

doGetMethod · 0.76
serviceMethod · 0.76
getVariableInfoMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52
contextInitializedMethod · 0.52