You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2014/03/15 16:38:40 UTC

svn commit: r1577885 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java

Author: sebb
Date: Sat Mar 15 15:38:39 2014
New Revision: 1577885

URL: http://svn.apache.org/r1577885
Log:
Javadoc

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java?rev=1577885&r1=1577884&r2=1577885&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java Sat Mar 15 15:38:39 2014
@@ -39,6 +39,12 @@ import org.apache.oro.text.regex.Perl5Ma
 /**
  * Thread to handle one client request. Gets the request from the client and
  * sends the response back to the client.
+ * The server responds to some header settings:
+ * X-ResponseStatus - the response code/message; default "200 OK"
+ * X-SetHeaders - pipe-separated list of headers to return
+ * X-ResponseLength - truncates the response to the stated length
+ * X-SetCookie - set a cookie
+ * X-Sleep - sleep before returning
  */
 public class HttpMirrorThread implements Runnable {
     private static final Logger log = LoggingManager.getLoggerForClass();