Graphene Selenium: API 2.0.0.Alpha1

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

getValue

public String getValue()
Returns the value of the header

Returns:
the value

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.