public final class ContentLength extends Header.Wrap
| Constructor and Description |
|---|
ContentLength(Headers headers)
Ctor.
|
ContentLength(Number length)
Ctor.
|
ContentLength(String value)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
longValue()
Read header as long value.
|
equals, getKey, getValue, hashCode, setValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic static final String NAME
public ContentLength(Number length)
length - Length numberpublic ContentLength(String value)
value - Header value.public ContentLength(Headers headers)
headers - Headers to extract header from.Copyright © 2012–2020 jcabi.com. All rights reserved.