@Header(type="integer", format="int64") public class HeaderLong extends Object
Content-Length: 300
Modifier | Constructor and Description |
---|---|
protected |
HeaderLong(Long value)
Constructor.
|
protected |
HeaderLong(String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
asLong()
Returns this header as a simple string value.
|
String |
toString() |
protected HeaderLong(String value)
value
- The raw header value.protected HeaderLong(Long value)
value
- The parsed header value.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.