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
 
Fields inherited from class net.sourceforge.jxweb.HttpStep
properties, testCase, webConversation, webConversationName
 
Constructor Summary
SetHeaderStep()
           
 
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
 

Field Detail

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
Constructor Detail

SetHeaderStep

public SetHeaderStep()
Method Detail

eval

public void eval(JXTestCase jXTestCase)
          throws Throwable
Overrides parent eval() method.
Overrides:
eval in class HttpStep
Parameters:
jxTestCase -  
Throws:
Throwable -