FormPath
object FormPathConstructors and strict parsing utilities for FormPath.
Defined by scalive.FormPath. View source (scalive/api/src/scalive/forms/FormPath.scala:79-222)
Methods3
apply
def apply(first: String, rest: String*): FormPathConstructs a path from trusted literal name segments.
Defined by scalive.FormPath.apply. View source (scalive/api/src/scalive/forms/FormPath.scala:118-119)
def apply(first: FormPathSegment, rest: FormPathSegment*): FormPathConstructs a path from trusted, explicit segment values.
Defined by scalive.FormPath.apply. View source (scalive/api/src/scalive/forms/FormPath.scala:122-125)
fromSegments
def fromSegments(segments: IterableOnce[FormPathSegment]): FormPathConstructs a path from a trusted sequence of explicit segment values.
Defined by scalive.FormPath.fromSegments. View source (scalive/api/src/scalive/forms/FormPath.scala:128-131)
parse
def parse(name: String): Either[FormPath.RepresentationError, FormPath]Strictly parses a browser field name using conservative default limits.
Defined by scalive.FormPath.parse. View source (scalive/api/src/scalive/forms/FormPath.scala:134-135)
def parse(name: String, limits: FormPath.ParseLimits): Either[FormPath.RepresentationError, FormPath]Strictly parses a browser field name using caller-provided resource limits.
Defined by scalive.FormPath.parse. View source (scalive/api/src/scalive/forms/FormPath.scala:138-200)
Values1
empty
val empty: FormPathThe path with no segments.
Defined by scalive.FormPath.empty. View source (scalive/api/src/scalive/forms/FormPath.scala:115-115)