public class Header extends AbstractTestElement implements Serializable
| Constructor and Description |
|---|
Header()
Create the header.
|
Header(String name,
String value)
Create the header.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigElement(ConfigElement config) |
boolean |
expectsModification() |
String |
getName()
Get the name for this object.
|
org.apache.jmeter.testelement.schema.PropertiesAccessor<? extends Header,? extends org.apache.jmeter.protocol.http.control.HeaderSchema> |
getProps() |
org.apache.jmeter.protocol.http.control.HeaderSchema |
getSchema() |
String |
getValue()
Get the value for this object.
|
void |
setName(String name)
Set the name for this object.
|
void |
setValue(String value)
Set the value for this object.
|
String |
toString()
Creates a string representation of this header.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertypublic Header()
public org.apache.jmeter.protocol.http.control.HeaderSchema getSchema()
getSchema in interface org.apache.jmeter.testelement.TestElementpublic org.apache.jmeter.testelement.schema.PropertiesAccessor<? extends Header,? extends org.apache.jmeter.protocol.http.control.HeaderSchema> getProps()
getProps in interface org.apache.jmeter.testelement.TestElementpublic void addConfigElement(ConfigElement config)
public boolean expectsModification()
public String getName()
getName in interface org.apache.jmeter.testelement.TestElementgetName in class AbstractTestElementpublic void setName(String name)
setName in interface org.apache.jmeter.testelement.TestElementsetName in class AbstractTestElementname - the name of this headerpublic String getValue()
public void setValue(String value)
value - the value of this headerCopyright © 1998-2023 Apache Software Foundation. All Rights Reserved.