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

Method getPeerAddr

java/org/apache/coyote/RequestInfo.java:152–155  ·  view source on GitHub ↗

Return the peer address. @return the peer address

()

Source from the content-addressed store, hash-verified

150 * @return the peer address
151 */
152 public String getPeerAddr() {
153 req.action(ActionCode.REQ_PEER_ADDR_ATTRIBUTE, null);
154 return req.peerAddr().toString();
155 }
156
157 /**
158 * Obtain the remote address for this connection as reported by an intermediate proxy (if any).

Callers

nothing calls this directly

Calls 3

peerAddrMethod · 0.80
actionMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected