MCPcopy Create free account
hub / github.com/apache/tomcat / getInitParameter

Method getInitParameter

java/jakarta/servlet/GenericServlet.java:72–75  ·  view source on GitHub ↗

Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. See ServletConfig#getInitParameter. This method is supplied for convenience. It gets the value of the named parameter from the servlet's S

(String name)

Source from the content-addressed store, hash-verified

70 * @return String a <code>String</code> containing the value of the initialization parameter
71 */
72 @Override
73 public String getInitParameter(String name) {
74 return getServletConfig().getInitParameter(name);
75 }
76
77 /**
78 * Returns the names of the servlet's initialization parameters as an <code>Enumeration</code> of

Callers

nothing calls this directly

Calls 2

getServletConfigMethod · 0.95
getInitParameterMethod · 0.65

Tested by

no test coverage detected