public class HeaderString extends Object
Accept-Ranges: bytes
Modifier | Constructor and Description |
---|---|
protected |
HeaderString(String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Returns this header as a simple string value.
|
boolean |
eq(String compare)
Returns
String.equals(Object) . |
boolean |
eqIC(String compare)
Returns
String.equalsIgnoreCase(String) . |
String |
toString() |
protected HeaderString(String value)
value
- The raw header value.public boolean eqIC(String compare)
String.equalsIgnoreCase(String)
.compare
- The value to compare against.public boolean eq(String compare)
String.equals(Object)
.compare
- The value to compare against.public String asString()
Functionally equivalent to calling toString()
.
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.