c
ParseLimits
class ParseLimits(maxDepth: Int = ..., maxSegmentLength: Int = ...)Resource limits applied while parsing an untrusted browser name.
Both limits must be positive; constructing other limits throws IllegalArgumentException.
Parameters
maxDepthThe maximum number of segments, including the root name.
maxSegmentLengthThe maximum length of one segment, in UTF-16 code units.
Defined by scalive.FormPath.ParseLimits. View source (scalive/api/src/scalive/forms/FormPath.scala:113-115)
Values2
maxDepth
val maxDepth: IntThe maximum number of segments, including the root name.
Defined by scalive.FormPath.ParseLimits.maxDepth. View source (scalive/api/src/scalive/forms/FormPath.scala:113-113)
maxSegmentLength
val maxSegmentLength: IntThe maximum length of one segment, in UTF-16 code units.
Defined by scalive.FormPath.ParseLimits.maxSegmentLength. View source (scalive/api/src/scalive/forms/FormPath.scala:113-113)