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

Method getRemoteAddr

java/org/apache/coyote/RequestInfo.java:142–145  ·  view source on GitHub ↗

Return the remote address. @return the remote address

()

Source from the content-addressed store, hash-verified

140 * @return the remote address
141 */
142 public String getRemoteAddr() {
143 req.action(ActionCode.REQ_HOST_ADDR_ATTRIBUTE, null);
144 return req.remoteAddr().toString();
145 }
146
147 /**
148 * Return the peer address.

Callers 1

Calls 3

remoteAddrMethod · 0.80
actionMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected