Add back the setters for remote host and remote address and provide an implementation...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Oct 2009 22:16:54 +0000 (22:16 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Oct 2009 22:16:54 +0000 (22:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@830368 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/Request.java

index 42e0fe3..adcfc39 100644 (file)
@@ -793,6 +793,27 @@ public class Request
 
 
     /**
+     * Set the IP address of the remote client associated with this Request.
+     *
+     * @param remoteAddr The remote IP address
+     */
+    public void setRemoteAddr(String remoteAddr) {
+        this.remoteAddr = remoteAddr;
+    }
+
+
+    /**
+     * Set the fully qualified name of the remote client associated with this
+     * Request.
+     *
+     * @param remoteHost The remote host name
+     */
+    public void setRemoteHost(String remoteHost) {
+        this.remoteHost = remoteHost;
+    }
+
+
+    /**
      * Set the value to be returned by <code>isSecure()</code>
      * for this Request.
      *