com.restfb.batch
Class BatchHeader

java.lang.Object
  extended by com.restfb.batch.BatchHeader

public class BatchHeader
extends Object

Represents an HTTP header name/value pair used by BatchRequest and BatchResponse.

Since:
1.6.5
Author:
Mark Allen

Constructor Summary
BatchHeader(String name, String value)
          Creates a BatchHeader with the given name/value pair.
 
Method Summary
 boolean equals(Object that)
           
 String getName()
          The name of the HTTP header.
 String getValue()
          The value of the HTTP header.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchHeader

public BatchHeader(String name,
                   String value)
Creates a BatchHeader with the given name/value pair.

Parameters:
name - The name of the header.
value - The value of the header.
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object that)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

getName

public String getName()
The name of the HTTP header.

Returns:
The name of the HTTP header.

getValue

public String getValue()
The value of the HTTP header.

Returns:
The value of the HTTP header.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.