net.sourceforge.jxweb
Class SetHeaderStep
java.lang.Object
|
+--net.sourceforge.jxweb.HttpStep
|
+--net.sourceforge.jxweb.SetHeaderStep
- All Implemented Interfaces:
- JXTestStep
- public class SetHeaderStep
- extends HttpStep
This class is a test step that allows a user to specify a single HTTP header
value to be used by the underlying WebClient
.
- Author:
- avollmer
Field Summary |
boolean |
indirect
Indicates if the 'value' field is used as a key to lookup the real value |
String |
name
Defines the name of the header to set |
String |
value
Defines the value of the header to set |
Method Summary |
void |
eval(JXTestCase jXTestCase)
Overrides parent eval() method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
- Defines the name of the header to set
value
public String value
- Defines the value of the header to set
indirect
public boolean indirect
- Indicates if the 'value' field is used as a key to lookup the real value
SetHeaderStep
public SetHeaderStep()
eval
public void eval(JXTestCase jXTestCase)
throws Throwable
- Overrides parent
eval()
method.
- Overrides:
eval
in class HttpStep
- Parameters:
jxTestCase
- - Throws:
Throwable
-