Logo Search packages:      
Sourcecode: jakarta-jmeter version File versions  Download package

org::apache::jmeter::protocol::http::util::HTTPFileArg Class Reference

Inheritance diagram for org::apache::jmeter::protocol::http::util::HTTPFileArg:

List of all members.

Detailed Description

Class representing a file parameter for http upload. Consists of a http parameter name/file path pair with (optional) mimetype.

Also provides temporary storage for the headers which are sent with files.

Definition at line 34 of file HTTPFileArg.java.

Public Member Functions

void addTestElement (TestElement el)
boolean canRemove ()
void clear ()
Object clone ()
boolean equals (Object o)
String getComment ()
String getHeader ()
String getMimeType ()
String getName ()
String getParamName ()
String getPath ()
JMeterProperty getProperty (String key)
boolean getPropertyAsBoolean (String key, boolean defaultVal)
boolean getPropertyAsBoolean (String key)
double getPropertyAsDouble (String key)
float getPropertyAsFloat (String key)
int getPropertyAsInt (String key, int defaultValue)
int getPropertyAsInt (String key)
long getPropertyAsLong (String key)
String getPropertyAsString (String key, String defaultValue)
String getPropertyAsString (String key)
JMeterContext getThreadContext ()
String getThreadName ()
int hashCode ()
 HTTPFileArg (HTTPFileArg file)
 HTTPFileArg (JMeterProperty path, JMeterProperty paramname, JMeterProperty mimetype)
 HTTPFileArg (String path, String paramname, String mimetype)
 HTTPFileArg (String path)
 HTTPFileArg ()
boolean isEnabled ()
boolean isNotEmpty ()
boolean isRunningVersion ()
boolean isTemporary (JMeterProperty property)
PropertyIterator propertyIterator ()
void recoverRunningVersion ()
void removeProperty (String key)
void setComment (String comment)
void setHeader (String newHeader)
void setMimeType (String newMimeType)
void setName (String name)
void setParamName (String newParamName)
void setPath (String newPath)
void setProperty (String name, int value, int dflt)
void setProperty (String name, int value)
void setProperty (String name, boolean value, boolean dflt)
void setProperty (String name, boolean value)
void setProperty (String name, String value, String dflt)
void setProperty (String name, String value)
void setProperty (JMeterProperty property)
void setRunningVersion (boolean runningVersion)
void setTemporary (JMeterProperty property)
void setThreadContext (JMeterContext inthreadContext)
void setThreadName (String inthreadName)
String toString ()
void traverse (TestElementTraverser traverser)

Static Public Attributes

static final String COMMENTS = "TestPlan.comments"
static final String ENABLED = "TestElement.enabled"
static final String GUI_CLASS = "TestElement.gui_class"
static final String NAME = "TestElement.name"
static final String TEST_CLASS = "TestElement.test_class"

Protected Member Functions

void addProperty (JMeterProperty property)
void clearTemporary (JMeterProperty property)
void emptyTemporary ()
void logProperties ()
void mergeIn (TestElement element)
void traverseCollection (CollectionProperty col, TestElementTraverser traverser)
void traverseMap (MapProperty map, TestElementTraverser traverser)
void traverseProperty (TestElementTraverser traverser, JMeterProperty value)

Private Member Functions

void setProperty (String name, JMeterProperty prop)

Private Attributes

String header

Static Private Attributes

static final String FILEPATH = "File.path"
static final String MIMETYPE = "File.mimetype"
static final String PARAMNAME = "File.paramname"

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index