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

Method getPart

java/org/apache/catalina/connector/Request.java:2730–2738  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

2728
2729
2730 @Override
2731 public Part getPart(String name) throws IOException, IllegalStateException, ServletException {
2732 for (Part part : getParts()) {
2733 if (name.equals(part.getName())) {
2734 return part;
2735 }
2736 }
2737 return null;
2738 }
2739
2740
2741 // ------------------------------------------------------ Protected Methods

Callers

nothing calls this directly

Calls 3

getPartsMethod · 0.95
equalsMethod · 0.65
getNameMethod · 0.65

Tested by

no test coverage detected