Author: jfrederic.clere(a)jboss.com
Date: 2011-02-23 16:05:41 -0500 (Wed, 23 Feb 2011)
New Revision: 1667
Modified:
sandbox/webapps/src/TestSnoop.java
Log:
Add port/host related stuff.
Modified: sandbox/webapps/src/TestSnoop.java
===================================================================
--- sandbox/webapps/src/TestSnoop.java 2011-02-23 11:14:40 UTC (rev 1666)
+++ sandbox/webapps/src/TestSnoop.java 2011-02-23 21:05:41 UTC (rev 1667)
@@ -99,8 +99,10 @@
out.println("<br>RequestURI: " + request.getRequestURI());
out.println("<br>RequestURL: " + request.getRequestURL());
out.println("<br>QueryString: " + request.getQueryString());
+ out.println("<br>LocalPort: " + request.getLocalPort());
+ out.println("<br>LocalAddr: " + request.getLocalAddr());
+ out.println("<br>LocalName: " + request.getLocalName());
-
}
public void doPost(HttpServletRequest request,
Show replies by date