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

Method getAttribute

java/jakarta/servlet/ServletContext.java:370–370  ·  view source on GitHub ↗

Returns the servlet container attribute with the given name, or null if there is no attribute by that name. An attribute allows a servlet container to give the servlet additional information not already provided by this interface. See your server documentation for information about its

(String name)

Source from the content-addressed store, hash-verified

368 * @see ServletContext#getAttributeNames
369 */
370 Object getAttribute(String name);
371
372 /**
373 * Returns an <code>Enumeration</code> containing the attribute names available within this servlet context. Use the

Callers 8

contextDestroyedMethod · 0.95
onCompleteMethod · 0.95
serviceMethod · 0.95
contextInitializedMethod · 0.95
contextDestroyedMethod · 0.95
directoryMethod · 0.95
fileMethod · 0.95

Implementers 5

TesterServletContexttest/org/apache/tomcat/unittest/Tester
JspCServletContextjava/org/apache/jasper/servlet/JspCSer
NoPluggabilityServletContextjava/org/apache/catalina/core/Standard
ApplicationContextjava/org/apache/catalina/core/Applicat
ApplicationContextFacadejava/org/apache/catalina/core/Applicat

Calls

no outgoing calls

Tested by 1

serviceMethod · 0.76