public static class HttpConfiguration.BasicHeader extends java.lang.Object implements HttpConfiguration.Header
HttpConfiguration.Header
.Constructor and Description |
---|
BasicHeader(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Get the name of the header.
|
java.lang.String |
getValue()
Get the value of the header.
|
int |
hashCode() |
java.lang.String |
toString() |
public BasicHeader(java.lang.String name, java.lang.String value)
name
- the name of the header; cannot be null
or emptyvalue
- the value of the header; may be null
public java.lang.String getName()
HttpConfiguration.Header
getName
in interface HttpConfiguration.Header
null
nor emptypublic java.lang.String getValue()
HttpConfiguration.Header
getValue
in interface HttpConfiguration.Header
null
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object