Author: sebb
Date: Sat May 9 13:09:06 2009
New Revision: 773220
URL: http://svn.apache.org/viewvc?rev=773220&view=rev
Log:
Document header usage better
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPFileArg.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPFileArg.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPFileArg.java?rev=773220&r1=773219&r2=773220&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPFileArg.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPFileArg.java
Sat May 9 13:09:06 2009
@@ -42,7 +42,7 @@
/** Name used to store the file's mimetype. */
private static final String MIMETYPE = "File.mimetype";
- /** temporary storage for header. */
+ /** temporary storage area for the body header. */
private String header;
/**
@@ -154,9 +154,11 @@
}
/**
- * Sets the http headers for the HTTPFileArg object. Header
+ * Sets the body header for the HTTPFileArg object. Header
* contains path, parameter name and mime type information.
- *
+ * This is only intended for use by methods which need to store information
+ * temporarily whilst creating the HTTP body.
+ *
* @param newHeader
* the new Header value
*/
@@ -165,7 +167,7 @@
}
/**
- * Gets the http headers for the HTTPFileArg object.
+ * Gets the saved body header for the HTTPFileArg object.
*/
public String getHeader() {
return header;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]