|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.restdriver.serverdriver.http.Header
public final class Header
Represents an HTTP header.
| Constructor Summary | |
|---|---|
Header(String name,
String value)
Creates a new header instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getName()
Get the name of this header. |
String |
getValue()
Get the value of this header. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Header(String name,
String value)
name - The header namevalue - The header value| Method Detail |
|---|
public String getName()
public String getValue()
public String toString()
toString in class Object@Generated(value="Eclipse") public int hashCode()
hashCode in class Object@Generated(value="Eclipse") public boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||