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

Method populatePort

java/org/apache/coyote/ajp/AjpProcessor.java:901–905  ·  view source on GitHub ↗

{@inheritDoc} This implementation populates the server port from the local port provided by the AJP message.

()

Source from the content-addressed store, hash-verified

899 * This implementation populates the server port from the local port provided by the AJP message.
900 */
901 @Override
902 protected void populatePort() {
903 // No host information (HTTP/1.0)
904 request.setServerPort(request.getLocalPort());
905 }
906
907
908 /**

Callers

nothing calls this directly

Calls 2

getLocalPortMethod · 0.65
setServerPortMethod · 0.45

Tested by

no test coverage detected