Save This Page
Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.protocol.http.util » [javadoc | source]
org.apache.jmeter.protocol.http.util
public class: HTTPFileArgs [javadoc | source]
java.lang.Object
   org.apache.jmeter.testelement.AbstractTestElement
      org.apache.jmeter.config.ConfigTestElement
         org.apache.jmeter.protocol.http.util.HTTPFileArgs

All Implemented Interfaces:
    Serializable, ConfigElement, TestElement

A set of HTTPFileArg objects.
Fields inherited from org.apache.jmeter.config.ConfigTestElement:
USERNAME,  PASSWORD
Constructor:
 public HTTPFileArgs() 
Method from org.apache.jmeter.protocol.http.util.HTTPFileArgs Summary:
addEmptyHTTPFileArg,   addHTTPFileArg,   addHTTPFileArg,   addHTTPFileArg,   asArray,   clear,   getHTTPFileArg,   getHTTPFileArgCount,   getHTTPFileArgsCollection,   iterator,   removeAllHTTPFileArgs,   removeHTTPFileArg,   removeHTTPFileArg,   removeHTTPFileArg,   setHTTPFileArgs,   toString
Methods from org.apache.jmeter.config.ConfigTestElement:
addConfigElement,   addTestElement,   expectsModification
Methods from org.apache.jmeter.testelement.AbstractTestElement:
addProperty,   addTestElement,   canRemove,   clear,   clearTemporary,   clone,   emptyTemporary,   equals,   getName,   getProperty,   getPropertyAsBoolean,   getPropertyAsBoolean,   getPropertyAsDouble,   getPropertyAsFloat,   getPropertyAsInt,   getPropertyAsLong,   getPropertyAsString,   getThreadContext,   getThreadName,   isEnabled,   isRunningVersion,   isTemporary,   logProperties,   mergeIn,   nextIsNull,   propertyIterator,   recoverRunningVersion,   removeProperty,   setName,   setProperty,   setProperty,   setRunningVersion,   setTemporary,   setThreadContext,   setThreadName,   threadFinished,   threadStarted,   traverse,   traverseCollection,   traverseMap,   traverseProperty
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.protocol.http.util.HTTPFileArgs Detail:
 public  void addEmptyHTTPFileArg() 
    Add a new empty file to the list. The new file will have the empty string as its path.
 public  void addHTTPFileArg(String path) 
    Add a new file with the given path.
 public  void addHTTPFileArg(HTTPFileArg file) 
    Add a new file.
 public  void addHTTPFileArg(String path,
    String param,
    String mime) 
    adds a new File to the HTTPFileArgs list to be uploaded with http request.
 public HTTPFileArg[] asArray() 
    Get the current arguments as an array.
 public  void clear() 
    Clear the files.
 public HTTPFileArg getHTTPFileArg(int row) 
    Get a single file.
 public int getHTTPFileArgCount() 
    Get the number of files in the list.
 public CollectionProperty getHTTPFileArgsCollection() 
    Get the files.
 public PropertyIterator iterator() 
    Get a PropertyIterator of the files.
 public  void removeAllHTTPFileArgs() 
    Remove all files from the list.
 public  void removeHTTPFileArg(int row) 
    Remove the specified file from the list.
 public  void removeHTTPFileArg(HTTPFileArg file) 
    Remove the specified file from the list.
 public  void removeHTTPFileArg(String filePath) 
    Remove the file with the specified path.
 public  void setHTTPFileArgs(List files) 
    Set the list of files. Any existing files will be lost.
 public String toString() 
    Create a string representation of the files.