Class Header
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,org.apache.jmeter.gui.Searchable
,org.apache.jmeter.testelement.TestElement
public class Header extends AbstractTestElement implements Serializable
This class is an HTTP Header encapsulator.
-
-
Field Summary
Fields Modifier and Type Field Description public transient JMeterContext
threadContext
public transient String
threadName
public final static TestElement.Companion
Companion
public final static String
NAME
public final static String
GUI_CLASS
public final static String
ENABLED
public final static String
TEST_CLASS
public final static String
COMMENTS
-
Method Summary
Modifier and Type Method Description HeaderSchema
getSchema()
PropertiesAccessor<out Header, out HeaderSchema>
getProps()
void
addConfigElement(ConfigElement config)
boolean
expectsModification()
String
getName()
Get the name for this object. void
setName(String name)
Set the name for this object. String
getValue()
Get the value for this object. void
setValue(String value)
Set the value for this object. String
toString()
Creates a string representation of this header. -
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.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getString, removed, set
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSchema
HeaderSchema getSchema()
-
getProps
PropertiesAccessor<out Header, out HeaderSchema> getProps()
-
addConfigElement
void addConfigElement(ConfigElement config)
-
expectsModification
boolean expectsModification()
-
setName
void setName(String name)
Set the name for this object.
- Parameters:
name
- the name of this header
-
setValue
void setValue(String value)
Set the value for this object.
- Parameters:
value
- the value of this header
-
-
-
-