public static class HttpConfiguration.BasicHeader extends java.lang.Object implements HttpConfiguration.Header
HttpConfiguration.Header
.Constructor and Description |
---|
HttpConfiguration.BasicHeader(java.lang.String name,
java.lang.String value) |
public HttpConfiguration.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