Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
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

maxDepth

The maximum number of segments, including the root name.

maxSegmentLength

The 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: Int

The 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: Int

The 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)