object BodyParserUtils
- Source
- BodyParsers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BodyParserUtils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def contentLengthHeaderExceedsMaxLength(request: RequestHeader, maxLength: Long): Boolean
- request
The request whose Content-Length header will be checked (if it exists).
- maxLength
Maximum allowed bytes.
- returns
true if the request's Content-Length header value is greater than maxLength. false otherwise or if the request does not have a Content-Length header (or if it can't be parsed).