Package org.apache.juneau.http.header
Class ContentLength
java.lang.Object
org.apache.juneau.http.header.HttpHeaderBean
org.apache.juneau.http.header.HttpLongHeader
org.apache.juneau.http.header.ContentLength
- All Implemented Interfaces:
HttpHeader
Represents an HTTP Content-Length header.
The size of the entity-body in bytes.
- Since:
- 9.2.1
-
Field Summary
FieldsFields inherited from class org.apache.juneau.http.header.HttpLongHeader
LAZY_LONG, LAZY_WIRE_STRING -
Constructor Summary
ConstructorsConstructorDescriptionContentLength(long value) ContentLength(Long value) ContentLength(String value) -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentLengthof(long value) static ContentLengthstatic ContentLengthstatic ContentLengthofLazyParsed(Supplier<Long> supplier) static ContentLengthofLazyWire(Supplier<String> supplier) Methods inherited from class org.apache.juneau.http.header.HttpLongHeader
asLong, getValue, of, of, orElse, toLongMethods inherited from class org.apache.juneau.http.header.HttpHeaderBean
equals, equalsIgnoreCase, getName, hashCode, of, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ContentLength
-
ContentLength
-
ContentLength
-
-
Method Details
-
of
-
of
-
of
-
ofLazyWire
-
ofLazyParsed
-