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

Method execute

java/org/apache/catalina/ant/ResourcesTask.java:74–88  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

72 * @exception BuildException if an error occurs
73 */
74 @Override
75 public void execute() throws BuildException {
76
77 super.execute();
78 if (type != null) {
79 try {
80 execute("/resources?type=" + URLEncoder.encode(type, getCharset()));
81 } catch (UnsupportedEncodingException e) {
82 throw new BuildException("Invalid 'charset' attribute: " + getCharset());
83 }
84 } else {
85 execute("/resources");
86 }
87
88 }
89
90
91}

Callers

nothing calls this directly

Calls 3

encodeMethod · 0.95
executeMethod · 0.65
getCharsetMethod · 0.65

Tested by

no test coverage detected