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

Method execute

java/org/apache/catalina/ant/JMXQueryTask.java:81–96  ·  view source on GitHub ↗

Execute the requested operation. @exception BuildException if an error occurs

()

Source from the content-addressed store, hash-verified

79 * @exception BuildException if an error occurs
80 */
81 @Override
82 public void execute() throws BuildException {
83 super.execute();
84 String queryString;
85 if (query == null) {
86 queryString = "";
87 } else {
88 try {
89 queryString = "?qry=" + URLEncoder.encode(query, getCharset());
90 } catch (UnsupportedEncodingException e) {
91 throw new BuildException("Invalid 'charset' attribute: " + getCharset());
92 }
93 }
94 log("Query string is " + queryString);
95 execute("/jmxproxy/" + queryString);
96 }
97}

Callers

nothing calls this directly

Calls 4

encodeMethod · 0.95
executeMethod · 0.65
getCharsetMethod · 0.65
logMethod · 0.65

Tested by

no test coverage detected