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

Method setAttribute

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

Binds an object to this session, using the name specified. If an object of the same name is already bound to the session, the object is replaced. After this method executes, and if the new object implements HttpSessionBindingListener , the container calls HttpSessionBindingList

(String name, Object value)

Source from the content-addressed store, hash-verified

167 * @exception IllegalStateException if this method is called on an invalidated session
168 */
169 void setAttribute(String name, Object value);
170
171 /**
172 * Removes the object bound with the specified name from this session. If the session does not have an object bound

Callers 15

doGetMethod · 0.95
doGetMethod · 0.95
doGetMethod · 0.95
invokeMethod · 0.95
doGetMethod · 0.65
doTagMethod · 0.65
doTagMethod · 0.65
runMethod · 0.65
doFilterMethod · 0.65
doInitBodyMethod · 0.65
doAfterBodyMethod · 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
doGetMethod · 0.76
testTagMethod · 0.52
testTagMethod · 0.52
doStartTagMethod · 0.52
newCodeMethod · 0.52
doGetMethod · 0.52
doGetMethod · 0.52
doGetMethod · 0.52
doGetMethod · 0.52
doGetMethod · 0.52