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

Method getMethodForCode

java/org/apache/coyote/ajp/Constants.java:285–287  ·  view source on GitHub ↗

Converts an AJP coded HTTP method to the method name. @param code the coded value @return the string value of the method

(final int code)

Source from the content-addressed store, hash-verified

283 * @return the string value of the method
284 */
285 public static String getMethodForCode(final int code) {
286 return methodTransArray[code];
287 }
288
289 /**
290 * Stored method code value.

Callers 1

prepareRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected