Class ContentLength
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.ContentLength
- All Implemented Interfaces:
Renderable
,ToStringRenderable
- Direct Known Subclasses:
Content$minusLength
Model for the `Content-Length` header. Specification:
https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-26#section-3.3.2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
Methods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.http.impl.util.Renderable
render
Methods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
ContentLength
public ContentLength()
-
-
Method Details
-
length
public abstract long length()
-