Interface ContentLengthField
- All Superinterfaces:
Field, ParsedField
- All Known Implementing Classes:
ContentLengthFieldImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanlongGets the content length value defined in this field.Methods inherited from interface Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface ParsedField
getParseException, isValidField
-
Method Details
-
bodyDescriptionField
default boolean bodyDescriptionField()- Specified by:
bodyDescriptionFieldin interfaceParsedField
-
getContentLength
long getContentLength()Gets the content length value defined in this field.- Returns:
- the content length value.
-