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

Method getRemoteAddr

java/jakarta/servlet/ServletRequest.java:319–319  ·  view source on GitHub ↗

Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR . @return a String containing the IP address of the client that sent the request

()

Source from the content-addressed store, hash-verified

317 * @return a <code>String</code> containing the IP address of the client that sent the request
318 */
319 String getRemoteAddr();
320
321 /**
322 * Returns the fully qualified name of the client or the last proxy that sent the request. If the engine cannot or

Implementers 4

ServletRequestWrapperjava/jakarta/servlet/ServletRequestWra
TesterHttpServletRequesttest/org/apache/catalina/filters/Teste
Requestjava/org/apache/catalina/connector/Req
RequestFacadejava/org/apache/catalina/connector/Req

Calls

no outgoing calls