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

Method getPathTranslated

java/org/apache/catalina/connector/Request.java:2155–2168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2153
2154
2155 @Override
2156 public String getPathTranslated() {
2157
2158 Context context = getContext();
2159 if (context == null) {
2160 return null;
2161 }
2162
2163 if (getPathInfo() == null) {
2164 return null;
2165 }
2166
2167 return context.getServletContext().getRealPath(getPathInfo());
2168 }
2169
2170
2171 @Override

Callers

nothing calls this directly

Calls 4

getContextMethod · 0.95
getPathInfoMethod · 0.95
getServletContextMethod · 0.95
getRealPathMethod · 0.65

Tested by

no test coverage detected