Class HTTPArgument

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Cloneable , org.apache.jmeter.gui.Searchable , org.apache.jmeter.testelement.TestElement

    
    public class HTTPArgument
    extends Argument implements Serializable
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HTTPArgumentSchema getSchema()
      PropertiesAccessor<out HTTPArgument, out HTTPArgumentSchema> getProps()
      void setUseEquals(boolean ue)
      boolean isUseEquals()
      void setContentType(String ct)
      String getContentType()
      void setAlwaysEncoded(boolean ae)
      boolean isAlwaysEncoded()
      void setName(String newName) Sets the Name attribute of the Argument object.
      String getEncodedValue() Get the argument value encoded using UTF-8
      String getEncodedValue(String contentEncoding) Get the argument value encoded in the specified encoding
      String getEncodedName()
      static void convertArgumentsToHTTP(Arguments args) Converts all Argument entries in the collection to HTTPArgument entries.
      • Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

        addTestElement, canRemove, clear, clearTestElementChildren, clone, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
      • Methods inherited from class org.apache.jmeter.config.Argument

        getDescription, getMetaData, getName, getValue, isSkippable, setDescription, setMetaData, setValue, toString
      • Methods inherited from class org.apache.jmeter.testelement.TestElement

        get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTTPArgument

        HTTPArgument(String name, String value, String metadata)
        Constructor for the Argument object.
        Parameters:
        name - name of the parameter
        value - value of the parameter
        metadata - the separator to use between name and value
      • HTTPArgument

        HTTPArgument(String name, String value)
        Constructor for the Argument object.
        Parameters:
        name - name of the parameter
        value - value of the parameter
      • HTTPArgument

        HTTPArgument(String name, String value, boolean alreadyEncoded)
        Parameters:
        name - name of the parameter
        value - value of the parameter
        alreadyEncoded - true if the value is already encoded, in which case they are decoded before storage
      • HTTPArgument

        HTTPArgument(String name, String value, boolean alreadyEncoded, String contentEncoding)
        Construct a new HTTPArgument instance; alwaysEncoded is set to true.
        Parameters:
        name - the name of the parameter
        value - the value of the parameter
        alreadyEncoded - true if the name and value is already encoded, in which case they are decoded before storage.
        contentEncoding - the encoding used for the parameter value
      • HTTPArgument

        HTTPArgument(String name, String value, String metaData, boolean alreadyEncoded)
        Construct a new HTTPArgument instance
        Parameters:
        name - the name of the parameter
        value - the value of the parameter
        metaData - the separator to use between name and value
        alreadyEncoded - true if the name and value is already encoded
      • HTTPArgument

        HTTPArgument(String name, String value, String metaData, boolean alreadyEncoded, String contentEncoding)
        Construct a new HTTPArgument instance
        Parameters:
        name - the name of the parameter
        value - the value of the parameter
        metaData - the separator to use between name and value
        alreadyEncoded - true if the name and value is already encoded
        contentEncoding - the encoding used for the parameter value
      • HTTPArgument

        HTTPArgument(Argument arg)
      • HTTPArgument

        HTTPArgument()
        Constructor for the Argument object