|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.http.control.Header
public class Header
This class is an HTTP Header encapsulator.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
|---|---|
Header()
Create the header. |
|
Header(String name,
String value)
Create the header. |
|
| Method Summary | |
|---|---|
void |
addConfigElement(ConfigElement config)
|
boolean |
expectsModification()
|
String |
getName()
Get the name for this object. |
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Header()
public Header(String name,
String value)
name - name of the headervalue - name of the header| Method Detail |
|---|
public void addConfigElement(ConfigElement config)
public boolean expectsModification()
public String getName()
getName in interface TestElementgetName in class AbstractTestElementpublic void setName(String name)
setName in interface TestElementsetName in class AbstractTestElementname - the name of this headerpublic String getValue()
public void setValue(String value)
value - the value of this headerpublic String toString()
toString in class Object
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||