retrofit.client
Class Header

java.lang.Object
  extended by retrofit.client.Header

public final class Header
extends Object

Represents an HTTP header name/value pair.


Constructor Summary
Header(String name, String value)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Header

public Header(String name,
              String value)
Method Detail

getName

public String getName()

getValue

public String getValue()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Square, Inc.. All Rights Reserved.