Apache JMeter
1.9

org.apache.jmeter.protocol.http.util
Class HTTPArgument

java.lang.Object
  |
  +--org.apache.jmeter.testelement.AbstractTestElement
        |
        +--org.apache.jmeter.config.Argument
              |
              +--org.apache.jmeter.protocol.http.util.HTTPArgument
All Implemented Interfaces:
Cloneable, Serializable, TestElement

public class HTTPArgument
extends Argument
implements Serializable

Author:
Administrator To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates.
See Also:
Serialized Form

Nested Class Summary
static class HTTPArgument.Test
           
 
Field Summary
 
Fields inherited from class org.apache.jmeter.config.Argument
METADATA, NAME, VALUE
 
Fields inherited from class org.apache.jmeter.testelement.AbstractTestElement
log
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, TEST_CLASS
 
Constructor Summary
HTTPArgument()
          Constructor for the Argument object
HTTPArgument(Argument arg)
           
HTTPArgument(String name, String value)
          Constructor for the Argument object
HTTPArgument(String name, String value, boolean alreadyEncoded)
           
HTTPArgument(String name, String value, String metadata)
          Constructor for the Argument object
HTTPArgument(String name, String value, String metaData, boolean alreadyEncoded)
           
 
Method Summary
static void convertArgumentsToHTTP(Arguments args)
           
 String getEncodedName()
           
 String getEncodedValue()
           
 boolean isAlwaysEncoded()
           
 boolean isUseEquals()
           
 void setAlwaysEncoded(boolean ae)
           
 void setName(String newName)
          Sets the Name attribute of the Argument object
 void setUseEquals(boolean ue)
           
 
Methods inherited from class org.apache.jmeter.config.Argument
getMetaData, getName, getValue, setMetaData, setValue, toString
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, clear, clone, equals, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPArgument

public HTTPArgument(String name,
                    String value,
                    String metadata)
Constructor for the Argument object

Parameters:
name - Description of Parameter
value - Description of Parameter
metadata - Description of Parameter

HTTPArgument

public HTTPArgument(String name,
                    String value)
Constructor for the Argument object

Parameters:
name - Description of Parameter
value - Description of Parameter

HTTPArgument

public HTTPArgument(String name,
                    String value,
                    boolean alreadyEncoded)

HTTPArgument

public HTTPArgument(String name,
                    String value,
                    String metaData,
                    boolean alreadyEncoded)

HTTPArgument

public HTTPArgument(Argument arg)

HTTPArgument

public HTTPArgument()
Constructor for the Argument object

Method Detail

setUseEquals

public void setUseEquals(boolean ue)

isUseEquals

public boolean isUseEquals()

setAlwaysEncoded

public void setAlwaysEncoded(boolean ae)

isAlwaysEncoded

public boolean isAlwaysEncoded()

setName

public void setName(String newName)
Sets the Name attribute of the Argument object

Overrides:
setName in class Argument
Parameters:
newName - The new Name value

getEncodedValue

public String getEncodedValue()

getEncodedName

public String getEncodedName()

convertArgumentsToHTTP

public static void convertArgumentsToHTTP(Arguments args)

Apache JMeter
1.9

Copyright © 1998-2003 Apache Software Foundation. All Rights Reserved.