Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.request
Class RequestHeader

java.lang.Object
  extended by org.jboss.arquillian.ajocado.request.RequestHeader

public class RequestHeader
extends Object

Request header which can be added to Selenium requests

Author:
Karel Piwko

Constructor Summary
RequestHeader(String name, String value)
          Creates a header with a given name and value
 
Method Summary
 String getName()
          Returns the name of the header
 String getValue()
          Returns the value of the header
 void setName(String name)
          Sets the name of the header
 void setValue(String value)
          Sets the value of the header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestHeader

public RequestHeader(String name,
                     String value)
Creates a header with a given name and value

Parameters:
name - Name of the header
value - Value of the header
Method Detail

getName

public String getName()
Returns the name of the header

Returns:
the name

setName

public void setName(String name)
Sets the name of the header

Parameters:
name - the name to set

getValue

public String getValue()
Returns the value of the header

Returns:
the value

setValue

public void setValue(String value)
Sets the value of the header

Parameters:
value - the value to set

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.